2006-10-12 18:10:57 +04:00
|
|
|
# wmii version
|
2007-01-03 21:21:35 +03:00
|
|
|
VERSION = 3.5.1
|
2007-01-04 00:20:05 +03:00
|
|
|
CONFVERSION = 3.5
|
2006-10-12 18:10:57 +04:00
|
|
|
|
|
|
|
# Customize below to fit your system
|
2005-11-18 18:54:58 +03:00
|
|
|
|
|
|
|
# paths
|
2006-05-31 21:48:44 +04:00
|
|
|
PREFIX = /usr/local
|
2006-10-12 18:20:38 +04:00
|
|
|
CONFPREFIX = ${PREFIX}/etc
|
2005-11-18 18:54:58 +03:00
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
|
|
|
# includes and libs
|
2006-10-12 18:10:57 +04:00
|
|
|
INCS = -I. -I${PREFIX}/include -I/usr/include -I${X11INC}
|
2006-10-16 16:43:48 +04:00
|
|
|
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -L${PREFIX}/lib -lixp -lm
|
2006-05-19 15:35:48 +04:00
|
|
|
|
2006-10-12 18:10:57 +04:00
|
|
|
# flags
|
2007-02-03 02:18:08 +03:00
|
|
|
#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
|
|
|
|
#LDFLAGS = ${LIBS}
|
2007-02-03 22:27:32 +03:00
|
|
|
CFLAGS = -g -Wall ${INCS} -DVERSION=\"${VERSION}\"
|
2007-02-03 02:18:08 +03:00
|
|
|
LDFLAGS = -g ${LIBS}
|
2006-01-21 14:57:20 +03:00
|
|
|
|
2006-10-30 11:54:22 +03:00
|
|
|
# Solaris
|
|
|
|
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
|
2007-01-13 04:15:55 +03:00
|
|
|
#LDFLAGS = ${LIBS} -R${PREFIX}/lib
|
2006-10-30 11:54:22 +03:00
|
|
|
#LDFLAGS += -lsocket -lnsl
|
|
|
|
#CFLAGS += -xtarget=ultra
|
|
|
|
|
2006-10-12 18:10:57 +04:00
|
|
|
# compiler and linker
|
2005-11-18 18:54:58 +03:00
|
|
|
CC = cc
|