diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,12 +1,13 @@ -CFLAGS = -std=c11 -D_XOPEN_SOURCE=700 -fPIC -g -O3 -Wall -fsanitize=thread +CFLAGS = -std=c11 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -fPIC -g -O3 -Wall LIBS=-lm -LDFLAGS = -Wl,--version-script=libthreadpool.v -shared -pthread $(LIBS) -fsanitize=thread +LDFLAGS = -Wl,--version-script=libthreadpool.v -shared -pthread $(LIBS) CC = cc TARGET = libthreadpool.so OBJECTS = \ threadpool.o \ + timer.o \ worker.o \ all: $(TARGET) |