diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-14 13:30:16 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-14 13:30:16 +0200 |
commit | 072173228aaab17be2a2600d4ad93052d1b609e1 (patch) | |
tree | f193cb093013d7e00fa27ff9338cd03289b5d40c /Makefile | |
parent | tor 5 okt 2023 16:37:35 CEST (diff) | |
download | wiki-public-072173228aaab17be2a2600d4ad93052d1b609e1.tar.gz wiki-public-072173228aaab17be2a2600d4ad93052d1b609e1.tar.xz |
lör 14 okt 2023 13:30:16 CEST
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 |