about summary refs log tree commit diff stats
path: root/config.mk
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-01 13:59:13 +0200
committerarg@10ksloc.org <unknown>2006-08-01 13:59:13 +0200
commita73a88280681acdab047bd11a9ba77d97d6a0b72 (patch)
tree03703345ad51ac1112cc502db4f9337d246cf533 /config.mk
parent57416beefec4db451a75a1d25434b69cf50badad (diff)
downloaddwm-a73a88280681acdab047bd11a9ba77d97d6a0b72.tar.gz
centralized/externalized configuration to config.h
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index d4ae17e..d65472e 100644
--- a/config.mk
+++ b/config.mk
@@ -12,9 +12,9 @@ INCS = -I/usr/lib -I${X11INC}
 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
 
 # flags
-CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\"
+CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\"
 LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
+#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIGH}\"
 #LDFLAGS = -g ${LIBS}
 
 # compiler
@@ -22,3 +22,6 @@ CC = cc
 
 # dwm version
 VERSION = 0.6
+
+# default config.h
+CONFIG = config.h