aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index aa84950..9d93ccd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+.PHONY: check
+
CFLAGS = -Wall -pedantic -std=c2x -ggdb \
-D_POSIX_C_SOURCE=200809L \
-D_XOPEN_SOURCE=700 \
@@ -11,3 +13,6 @@ LDFLAGS = -pthread -L/usr/local/lib
LDLIBS = -lpthread
wiki: wiki.c
+
+check:
+ cppcheck --enable=all --suppress=missingIncludeSystem wiki.c