2006-07-10 21:38:18 +07:00
|
|
|
# Customize to fit your system
|
|
|
|
|
|
|
|
# paths
|
|
|
|
PREFIX = /usr/local
|
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
2006-07-21 15:18:12 +07:00
|
|
|
VERSION = 0.5
|
2006-07-10 21:38:18 +07:00
|
|
|
|
|
|
|
# includes and libs
|
2006-07-14 00:55:07 +07:00
|
|
|
LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
|
2006-07-10 21:38:18 +07:00
|
|
|
|
|
|
|
# Linux/BSD
|
2006-07-21 14:39:44 +07:00
|
|
|
CFLAGS = -O3 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
2006-07-20 21:54:20 +07:00
|
|
|
-DVERSION=\"${VERSION}\"
|
2006-07-21 14:39:44 +07:00
|
|
|
LDFLAGS = ${LIBS}
|
|
|
|
#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
|
|
|
|
# -DVERSION=\"${VERSION}\"
|
|
|
|
#LDFLAGS = -g ${LIBS}
|
2006-07-13 06:55:54 +07:00
|
|
|
|
2006-07-10 21:38:18 +07:00
|
|
|
|
|
|
|
# Solaris
|
|
|
|
#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
|
|
|
|
#LIBS += -lnsl -lsocket
|
|
|
|
|
|
|
|
AR = ar cr
|
|
|
|
CC = cc
|
|
|
|
RANLIB = ranlib
|