From 1acb6e3c8941de5715e7008503a4c8a699873a3b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 16 Sep 2021 16:20:50 +0200 Subject: Improve makefile and fix bug in cg-limits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- config.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.mk') 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 -- cgit v1.2.3-70-g09d2