initial import
[dwm.git] / config.mk
1 # Customize to fit your system
2
3 # paths
4 PREFIX = /usr/local
5 CONFPREFIX = ${PREFIX}/etc
6 MANPREFIX = ${PREFIX}/share/man
7
8 X11INC = /usr/X11R6/include
9 X11LIB = /usr/X11R6/lib
10
11 VERSION = 0.0
12
13 # includes and libs
14 LIBS = -L${PREFIX}/lib -L/usr/lib -lc
15 X11LIBS = -L${X11LIB} -lX11
16
17 # Linux/BSD
18 CFLAGS = -g -Wall -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
19 -DVERSION=\"${VERSION}\"
20 LDFLAGS = -g ${LIBS}
21 X11LDFLAGS = ${LDFLAGS} ${X11LIBS}
22
23 # Solaris
24 #CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
25 #LIBS += -lnsl -lsocket
26
27 AR = ar cr
28 CC = cc
29 RANLIB = ranlib