aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 16:15:47 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 16:15:47 +0200
commit1590e7b0dc7e9848e060b7228a27d5309334d712 (patch)
tree00dde57f0be3755531abedec86dba2c47a923a01 /config.mk
parentChange license, rewrite in C, remove info manual, remove shell tab completion, misc (diff)
downloadbfind-5271f14288f7e60fb324e3cdbffde6c88412304b.tar.gz
bfind-5271f14288f7e60fb324e3cdbffde6c88412304b.tar.bz2
bfind-5271f14288f7e60fb324e3cdbffde6c88412304b.tar.xz
Improve makefile and silence false warning3.0.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 7c93a9a..2176f52 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
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 =