aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-09-16 18:49:42 +0200
committerMattias Andrée <maandree@kth.se>2021-09-16 18:49:42 +0200
commit195bfa0749997706198dc36e38614eb2693c17d9 (patch)
tree57af493b58900810fdee9378de8e92ac5b8b4629 /config.mk
parentUse simple make file, remove info manual, and other crap, change style, use arg.h instead of getopt, and change license (diff)
downloadunstickpixels-195bfa0749997706198dc36e38614eb2693c17d9.tar.gz
unstickpixels-195bfa0749997706198dc36e38614eb2693c17d9.tar.bz2
unstickpixels-195bfa0749997706198dc36e38614eb2693c17d9.tar.xz
Improve makefile + m style fix + fix warnings3.0.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 060c337..71c611f 100644
--- a/config.mk
+++ b/config.mk
@@ -1,6 +1,8 @@
-PREFIX = /usr/local
+PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
+CC = cc
+
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c99 -Wall -Wextra -O2 $(CPPFLAGS)
+CFLAGS = -std=c99 -Wall -O2
LDFLAGS = -s -lgamma