aewl

annotate config.mk @ 120:1a394bc49922

using O3 instead of Os, binary size still < 40kb
author arg@10ksloc.org
date Thu, 20 Jul 2006 10:26:36 +0200
parents b2445fd41f5e
children 61490330e90a
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@113 10 VERSION = 0.4
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@120 16 CFLAGS = -O3 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
arg@98 17 -DVERSION=\"${VERSION}\"
arg@98 18 LDFLAGS = ${LIBS}
arg@98 19 #CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
garbeam@70 20 # -DVERSION=\"${VERSION}\"
arg@98 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