2006-07-10 10:38:18 -04:00
|
|
|
# Customize to fit your system
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
|
|
|
CONFPREFIX = ${PREFIX}/etc
|
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
|
|
|
VERSION = 0.0
|
|
|
|
|
|
|
|
# includes and libs
|
2006-07-12 10:00:51 -04:00
|
|
|
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -lm -L${X11LIB} -lX11
|
2006-07-10 10:38:18 -04:00
|
|
|
|
|
|
|
# Linux/BSD
|
2006-07-12 19:55:54 -04:00
|
|
|
CFLAGS = -Os -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
2006-07-10 10:38:18 -04:00
|
|
|
-DVERSION=\"${VERSION}\"
|
2006-07-12 19:55:54 -04:00
|
|
|
LDFLAGS = ${LIBS}
|
|
|
|
#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
|
|
|
|
|
|
|
|
#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
|
|
|
# -DVERSION=\"${VERSION}\"
|
|
|
|
#LDFLAGS = -g ${LIBS}
|
2006-07-10 10:38:18 -04:00
|
|
|
|
|
|
|
# Solaris
|
|
|
|
#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
|
|
|
|
#LIBS += -lnsl -lsocket
|
|
|
|
|
|
|
|
AR = ar cr
|
|
|
|
CC = cc
|
|
|
|
RANLIB = ranlib
|