Xinqi Bao's Git

Makefile: separate default flags from user flags
[slstatus.git] / config.mk
index a148da4..bb2324f 100644 (file)
--- 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     =