From a73a88280681acdab047bd11a9ba77d97d6a0b72 Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Tue, 1 Aug 2006 13:59:13 +0200 Subject: centralized/externalized configuration to config.h --- config.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'config.mk') 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 -- cgit v1.2.3