aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2023-09-12 22:05:38 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2023-09-12 22:05:38 +0200
commit10af9da21bc004449f4148ccf63fb9aa06e44bc0 (patch)
treef1efe9a503a8640847b706935825adfa44c4281a /Makefile
parenttis 22 aug 2023 21:28:55 CEST (diff)
downloadwiki-public-10af9da21bc004449f4148ccf63fb9aa06e44bc0.tar.gz
wiki-public-10af9da21bc004449f4148ccf63fb9aa06e44bc0.tar.xz
Work on c replacement for wiki script.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..aa84950
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,13 @@
+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