aewl

diff config.mk @ 146:f328ce9c558c

centralized/externalized configuration to config.h
author arg@10ksloc.org
date Tue, 01 Aug 2006 13:59:13 +0200
parents 36cabfe408cd
children 5267e1204367
line diff
     1.1 --- a/config.mk	Tue Aug 01 12:41:38 2006 +0200
     1.2 +++ b/config.mk	Tue Aug 01 13:59:13 2006 +0200
     1.3 @@ -12,9 +12,9 @@
     1.4  LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
     1.5  
     1.6  # flags
     1.7 -CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\"
     1.8 +CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\"
     1.9  LDFLAGS = ${LIBS}
    1.10 -#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
    1.11 +#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIGH}\"
    1.12  #LDFLAGS = -g ${LIBS}
    1.13  
    1.14  # compiler
    1.15 @@ -22,3 +22,6 @@
    1.16  
    1.17  # dwm version
    1.18  VERSION = 0.6
    1.19 +
    1.20 +# default config.h
    1.21 +CONFIG = config.h