aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-18 18:17:42 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-18 18:17:42 +0200
commitd66a818355d0c1a81be580f8bca13dc02bdbe045 (patch)
treee8ee87e5a2d07078c032aec39c3c81eb9e8b3522 /Makefile
parentlör 16 sep 2023 20:46:57 CEST (diff)
downloadwiki-public-d66a818355d0c1a81be580f8bca13dc02bdbe045.tar.gz
wiki-public-d66a818355d0c1a81be580f8bca13dc02bdbe045.tar.xz
mån 18 sep 2023 18:17:41 CEST
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