aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 16:20:50 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 16:20:50 +0200
commit1acb6e3c8941de5715e7008503a4c8a699873a3b (patch)
tree2a53d3507cab019494dd407ea18b2eefeb4a78c4 /config.mk
parentAdd KNOWN_ISSUES (diff)
downloadcg-tools-1acb6e3c8941de5715e7008503a4c8a699873a3b.tar.gz
cg-tools-1acb6e3c8941de5715e7008503a4c8a699873a3b.tar.bz2
cg-tools-1acb6e3c8941de5715e7008503a4c8a699873a3b.tar.xz
Improve makefile and fix bug in cg-limits1.4.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 a3ec1ce..90d9484 100644
--- a/config.mk
+++ b/config.mk
@@ -1,8 +1,10 @@
-PREFIX = /usr
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
PKGNAME = cg-tools
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D'PKGNAME="$(PKGNAME)"'
+CC = cc
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D'PKGNAME="$(PKGNAME)"'
CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -lcoopgamma -lm -s