aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-06-06 14:08:07 +0200
committerMattias Andrée <maandree@kth.se>2017-06-06 14:08:07 +0200
commitc87ef93e800862f42458a9b987397e9f4d46f49c (patch)
treecdad3b0b5f712e04c041d667de8bc9698d5852f7 /config.mk
parentRemove a much of stuff, change license, and add support for float and long double (diff)
downloadlibcolour-c87ef93e800862f42458a9b987397e9f4d46f49c.tar.gz
libcolour-c87ef93e800862f42458a9b987397e9f4d46f49c.tar.bz2
libcolour-c87ef93e800862f42458a9b987397e9f4d46f49c.tar.xz
Makefile: add install and uninstall
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 1f61799..c2ee0de 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,9 @@
VERSION_MAJOR = 2
VERSION_MINOR = 0
-CFLAGS = -Wall -pedantic -std=c11 -g
+PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
+
+CFLAGS = -std=c11 -Wall -pedantic -O2
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE
-LDFLAGS = -lm
+LDFLAGS = -lm -s