diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -6,13 +6,14 @@ CFLAGS = -Wall -pedantic -std=c2x -ggdb \ -D_DEFAULT_SOURCE \ -D_BSD_SORUCE \ -pthread \ - -I/usr/local/include -#### -fsanitize=thread \ + -I/usr/local/include \ + -fsanitize=thread #### -fsanitize=undefined LDFLAGS = -pthread -L/usr/local/lib LDLIBS = -lpthread -wiki: wiki.c +main: wiki.c + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) $(LDLIBS) check: cppcheck --enable=all --suppress=missingIncludeSystem wiki.c |