aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-13 00:28:37 +0100
committerMattias Andrée <maandree@kth.se>2022-02-13 00:28:37 +0100
commit2ef79ab9d01090c1b3a2cc445a18d141cbb3c781 (patch)
tree1a455cc6d734f4b63adaf7857e4747dd2ed8ffcb /config.mk
downloadlibar2simplified-2ef79ab9d01090c1b3a2cc445a18d141cbb3c781.tar.gz
libar2simplified-2ef79ab9d01090c1b3a2cc445a18d141cbb3c781.tar.bz2
libar2simplified-2ef79ab9d01090c1b3a2cc445a18d141cbb3c781.tar.xz
First commit
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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..eb58289
--- /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 -g -pthread
+LDFLAGS = -lar2 -lblake -pthread -lrt