centralized/externalized configuration to config.h

This commit is contained in:
arg@10ksloc.org
2006-08-01 13:59:13 +02:00
parent 57416beefe
commit a73a882806
9 changed files with 171 additions and 106 deletions

View File

@ -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