aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-23 09:11:42 +0200
committerMattias Andrée <maandree@kth.se>2023-06-23 09:11:42 +0200
commitebc0fb022c48ced5e690567b3fb4186a3dfbd937 (patch)
tree82f32fb8b13d64a9a11257526e4b3413c6ae4022 /config.mk
downloadkey2root-ebc0fb022c48ced5e690567b3fb4186a3dfbd937.tar.gz
key2root-ebc0fb022c48ced5e690567b3fb4186a3dfbd937.tar.bz2
key2root-ebc0fb022c48ced5e690567b3fb4186a3dfbd937.tar.xz
First commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..97a6f0f
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,8 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+
+CC = cc
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
+CFLAGS = -std=c99 -Wall -O2
+LDFLAGS = -lcrypt