summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2018-04-30 16:11:45 +0200
committerAaron Marcher <me@drkhsh.at>2018-04-30 16:27:07 +0200
commit95665e437b8f556db4d5499e189e224e3c6e6a12 (patch)
treeb38d198a99c908f42a91c722b8e8ef87cafd65d5 /config.mk
parent085431b2826ff345c6f8580a72f3fff6f8138785 (diff)
Makefile: separate default flags from user flags
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/config.mk b/config.mk
index a148da4..bb2324f 100644
--- a/config.mk
+++ b/config.mk
@@ -4,7 +4,7 @@ VERSION = 0
# customize below to fit your system
# paths
-PREFIX = /usr/local
+PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
@@ -14,10 +14,6 @@ X11LIB = /usr/X11R6/lib
#OSSLIBS = -lossaudio
# flags
-CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
-LDFLAGS = -L$(X11LIB) -s
-LDLIBS = -lX11 ${OSSLIBS}
-
-# compiler and linker
-CC = cc
+LDFLAGS = -s
+LIBS =