aewl
annotate 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 |
rev | line source |
---|---|
garbeam@0 | 1 # Customize to fit your system |
garbeam@0 | 2 |
garbeam@0 | 3 # paths |
garbeam@0 | 4 PREFIX = /usr/local |
garbeam@0 | 5 MANPREFIX = ${PREFIX}/share/man |
garbeam@0 | 6 |
garbeam@0 | 7 X11INC = /usr/X11R6/include |
garbeam@0 | 8 X11LIB = /usr/X11R6/lib |
garbeam@0 | 9 |
arg@143 | 10 # includes and libs |
arg@143 | 11 INCS = -I/usr/lib -I${X11INC} |
arg@143 | 12 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 |
garbeam@0 | 13 |
arg@143 | 14 # flags |
arg@146 | 15 CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\" |
arg@131 | 16 LDFLAGS = ${LIBS} |
arg@146 | 17 #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIGH}\" |
arg@131 | 18 #LDFLAGS = -g ${LIBS} |
garbeam@33 | 19 |
arg@143 | 20 # compiler |
arg@143 | 21 CC = cc |
garbeam@0 | 22 |
arg@143 | 23 # dwm version |
arg@143 | 24 VERSION = 0.6 |
arg@146 | 25 |
arg@146 | 26 # default config.h |
arg@146 | 27 CONFIG = config.h |