aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 17:58:59 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 17:58:59 +0200
commita79fb47fd9ac05d21b6a930c79dd53ed39ad0c76 (patch)
tree7aad0f981d814988169244c9d6a2ccc871db8e65 /config.mk
parentm (diff)
downloadlibclut-a79fb47fd9ac05d21b6a930c79dd53ed39ad0c76.tar.gz
libclut-a79fb47fd9ac05d21b6a930c79dd53ed39ad0c76.tar.bz2
libclut-a79fb47fd9ac05d21b6a930c79dd53ed39ad0c76.tar.xz
Fix makefile, fix warnings, fix bugs, and otherwise improve code1.2.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
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