aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2018-08-29 18:41:58 +0200
committerMattias Andrée <maandree@kth.se>2018-08-29 18:42:41 +0200
commitd8fde23bf25074d7f812b956d21cdcc36a348c28 (patch)
tree1fd09cf4e8427e161f24dff3e29194c5db060511 /config.mk
parentCircumvent optimisation bug in clang, and fix bug in have_custom_malloc (diff)
downloadlibsimple-d8fde23bf25074d7f812b956d21cdcc36a348c28.tar.gz
libsimple-d8fde23bf25074d7f812b956d21cdcc36a348c28.tar.bz2
libsimple-d8fde23bf25074d7f812b956d21cdcc36a348c28.tar.xz
Makefile: add install and uninstall rules1.0
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 2751186..7a1e97a 100644
--- a/config.mk
+++ b/config.mk
@@ -1,3 +1,6 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
CFLAGS = -std=c99 -Wall -Wextra -O2 $(CPPFLAGS)
LDFLAGS = -s