aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:13:08 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:13:08 +0200
commit090009a8e107888fb9f1ab5a2997d65c8c121398 (patch)
treeebb909ccbc6f6d29af5469964953aac987b86960 /config.mk
parentwhitespace (diff)
downloadlibred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.gz
libred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.bz2
libred-090009a8e107888fb9f1ab5a2997d65c8c121398.tar.xz
Improve makefile + minor fixes and improvements1.0.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 31eb919..9b1bc39 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr
+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 = -lm -s