blob: 9d93ccde5410f4632e60017af90d49157a84a10e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
.PHONY: check
CFLAGS = -Wall -pedantic -std=c2x -ggdb \
-D_POSIX_C_SOURCE=200809L \
-D_XOPEN_SOURCE=700 \
-D_DEFAULT_SOURCE \
-D_BSD_SORUCE \
-pthread \
-I/usr/local/include
#### -fsanitize=thread \
#### -fsanitize=undefined
LDFLAGS = -pthread -L/usr/local/lib
LDLIBS = -lpthread
wiki: wiki.c
check:
cppcheck --enable=all --suppress=missingIncludeSystem wiki.c
|