dwm-meillo
annotate config.mk @ 48:ceff29af8c7b
several fixes
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Thu, 13 Jul 2006 14:33:22 +0200 |
parents | e90449e03167 |
children | 035617ee18d1 |
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 CONFPREFIX = ${PREFIX}/etc |
garbeam@0 | 6 MANPREFIX = ${PREFIX}/share/man |
garbeam@0 | 7 |
garbeam@0 | 8 X11INC = /usr/X11R6/include |
garbeam@0 | 9 X11LIB = /usr/X11R6/lib |
garbeam@0 | 10 |
garbeam@0 | 11 VERSION = 0.0 |
garbeam@0 | 12 |
garbeam@0 | 13 # includes and libs |
garbeam@27 | 14 LIBS = -L${PREFIX}/lib -L/usr/lib -lc -lm -L${X11LIB} -lX11 |
garbeam@0 | 15 |
garbeam@0 | 16 # Linux/BSD |
garbeam@34 | 17 CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ |
garbeam@0 | 18 -DVERSION=\"${VERSION}\" |
garbeam@34 | 19 LDFLAGS = -g ${LIBS} |
garbeam@33 | 20 |
garbeam@0 | 21 |
garbeam@0 | 22 # Solaris |
garbeam@0 | 23 #CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\" |
garbeam@0 | 24 #LIBS += -lnsl -lsocket |
garbeam@0 | 25 |
garbeam@0 | 26 AR = ar cr |
garbeam@0 | 27 CC = cc |
garbeam@0 | 28 RANLIB = ranlib |