From a79fb47fd9ac05d21b6a930c79dd53ed39ad0c76 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 16 Sep 2021 17:58:59 +0200 Subject: Fix makefile, fix warnings, fix bugs, and otherwise improve code 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 95f41fe..9b1bc39 100644 --- a/config.mk +++ b/config.mk @@ -1,6 +1,8 @@ -PREFIX = /usr +PREFIX = /usr MANPREFIX = $(PREFIX)/share/man +CC = cc + CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -CFLAGS = -std=c99 -Wall +CFLAGS = -std=c99 -Wall -O2 LDFLAGS = -lm -s -- cgit v1.2.3-70-g09d2