dwm-meillo
annotate config.mk @ 138:c1185dc7a36e
some cleanups/fixes inspired by Jukka Salmi's feedback
author | arg@10ksloc.org |
---|---|
date | Fri, 21 Jul 2006 18:34:10 +0200 |
parents | 65efe27cbf3d |
children | 36cabfe408cd |
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@134 | 10 VERSION = 0.5 |
garbeam@0 | 11 |
garbeam@0 | 12 # includes and libs |
garbeam@51 | 13 LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11 |
garbeam@0 | 14 |
garbeam@0 | 15 # Linux/BSD |
arg@131 | 16 CFLAGS = -O3 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ |
arg@131 | 17 -DVERSION=\"${VERSION}\" |
arg@131 | 18 LDFLAGS = ${LIBS} |
arg@131 | 19 #CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \ |
arg@127 | 20 # -DVERSION=\"${VERSION}\" |
arg@131 | 21 #LDFLAGS = -g ${LIBS} |
garbeam@33 | 22 |
garbeam@0 | 23 |
garbeam@0 | 24 # Solaris |
garbeam@0 | 25 #CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\" |
garbeam@0 | 26 #LIBS += -lnsl -lsocket |
garbeam@0 | 27 |
garbeam@0 | 28 AR = ar cr |
garbeam@0 | 29 CC = cc |
garbeam@0 | 30 RANLIB = ranlib |