aewl

annotate config.mk @ 734:6283adb1fcf2

replaced getproto with a saner function, now old-school artifacts of WM times in the early 90s completely disappeared, no punned pointer warning anymore ;)
author Anselm R. Garbe <arg@suckless.org>
date Wed, 07 Feb 2007 12:37:06 +0100
parents 8997e28553a8
children 9ede7b2d2450
rev   line source
arg@160 1 # dwm version
arg@730 2 VERSION = 3.4
arg@160 3
arg@160 4 # Customize below to fit your system
arg@160 5
garbeam@0 6 # paths
garbeam@0 7 PREFIX = /usr/local
garbeam@0 8 MANPREFIX = ${PREFIX}/share/man
garbeam@0 9
garbeam@0 10 X11INC = /usr/X11R6/include
garbeam@0 11 X11LIB = /usr/X11R6/lib
garbeam@0 12
arg@143 13 # includes and libs
arg@303 14 INCS = -I. -I/usr/include -I${X11INC}
arg@143 15 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
garbeam@0 16
arg@148 17 # flags
arg@199 18 CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
arg@193 19 LDFLAGS = ${LIBS}
arg@734 20 CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
arg@734 21 LDFLAGS = -g ${LIBS}
arg@148 22
arg@636 23 # Solaris
arg@636 24 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
arg@636 25 #LDFLAGS = ${LIBS}
arg@636 26 #CFLAGS += -xtarget=ultra
arg@636 27
arg@268 28 # compiler and linker
arg@148 29 CC = cc