diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2021-05-26 16:46:37 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2021-05-26 16:46:37 -0400 |
commit | 63f1090ccc54ca33a6556bd3753e0c2d1f466ec1 (patch) | |
tree | 3901a9aa796b5dead5294292b4edec79dbc193c3 | |
parent | 376dcf7dbb2fdc8c8844880cb1f118b61892937a (diff) |
Add pthreads, librt, and libdl to the list of
libraries.
This is because they're needed in order to use libtcc.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ OBJ_NAME = libtcc-test all : clean $(OBJ_NAME) $(OBJ_NAME) : $(OBJS) - $(CC) $(OBJS) $(CFLAGS) -ltcc -o $(OBJ_NAME) + $(CC) $(OBJS) $(CFLAGS) -ltcc -lpthread -lrt -ldl -o $(OBJ_NAME) %.o : %.c $(CC) -c $< -o $@ $(CFLAGS) clean : |