aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 17:48:51 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 17:48:51 +0200
commite60c82dbb225e90ce8587630a262e4cf1b96c923 (patch)
treee8a263b59fec228aaa779291ec4b0ed798c2ec31 /config.mk
parentmakefile: add install and uninstall (diff)
downloadlearn-your-telephone-number-e60c82dbb225e90ce8587630a262e4cf1b96c923.tar.gz
learn-your-telephone-number-e60c82dbb225e90ce8587630a262e4cf1b96c923.tar.bz2
learn-your-telephone-number-e60c82dbb225e90ce8587630a262e4cf1b96c923.tar.xz
Improve makefile1.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 72bb488..aa81003 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CPFLAGS = -std=c99 -Wall -Wextra -O2 $(CPPFLAGS)
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s