dwm-meillo

annotate config.mk @ 33:e90449e03167

new stuff (some warning elimination)
author Anselm R. Garbe <garbeam@wmii.de>
date Thu, 13 Jul 2006 01:55:54 +0200
parents 2e0fb4130bfb
children cd30cce52b78
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@33 17 CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
garbeam@0 18 -DVERSION=\"${VERSION}\"
garbeam@33 19 LDFLAGS = ${LIBS}
garbeam@33 20 #CFLAGS += -W -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Waggregate-return -Wnested-externs -Winline -Wwrite-strings -Wundef -Wsign-compare -Wmissing-prototypes -Wredundant-decls
garbeam@33 21
garbeam@33 22 #CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
garbeam@33 23 # -DVERSION=\"${VERSION}\"
garbeam@33 24 #LDFLAGS = -g ${LIBS}
garbeam@0 25
garbeam@0 26 # Solaris
garbeam@0 27 #CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
garbeam@0 28 #LIBS += -lnsl -lsocket
garbeam@0 29
garbeam@0 30 AR = ar cr
garbeam@0 31 CC = cc
garbeam@0 32 RANLIB = ranlib