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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
1 # Customize to fit your system
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
2
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
3 # paths
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
4 PREFIX = /usr/local
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
5 MANPREFIX = ${PREFIX}/share/man
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
6
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
7 X11INC = /usr/X11R6/include
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
8 X11LIB = /usr/X11R6/lib
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
9
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
10 # includes and libs
143
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
11 INCS = -I/usr/lib -I${X11INC}
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
12 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
13
143
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
14 # flags
146
f328ce9c558c centralized/externalized configuration to config.h
arg@10ksloc.org
parents: 143
diff changeset
15 CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIG}\"
131
65efe27cbf3d preparing 0.6 which will be available in the evening after sanders patch approx.
arg@10ksloc.org
parents: 127
diff changeset
16 LDFLAGS = ${LIBS}
146
f328ce9c558c centralized/externalized configuration to config.h
arg@10ksloc.org
parents: 143
diff changeset
17 #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DCONFIG=\"${CONFIGH}\"
131
65efe27cbf3d preparing 0.6 which will be available in the evening after sanders patch approx.
arg@10ksloc.org
parents: 127
diff changeset
18 #LDFLAGS = -g ${LIBS}
33
e90449e03167 new stuff (some warning elimination)
Anselm R. Garbe <garbeam@wmii.de>
parents: 30
diff changeset
19
143
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
20 # compiler
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
21 CC = cc
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
22
143
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
23 # dwm version
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
24 VERSION = 0.6
146
f328ce9c558c centralized/externalized configuration to config.h
arg@10ksloc.org
parents: 143
diff changeset
25
f328ce9c558c centralized/externalized configuration to config.h
arg@10ksloc.org
parents: 143
diff changeset
26 # default config.h
f328ce9c558c centralized/externalized configuration to config.h
arg@10ksloc.org
parents: 143
diff changeset
27 CONFIG = config.h