wmii/config.mk

41 lines
887 B
Makefile
Raw Normal View History

2006-10-12 18:10:57 +04:00
# Customize below to fit your system
2005-11-18 18:54:58 +03:00
# paths
PREFIX = /usr/local
BIN = ${PREFIX}/bin
MAN = ${PREFIX}/share/man
ETC = ${PREFIX}/etc
LIBDIR = ${PREFIX}/lib
INCLUDE = ${PREFIX}/include
2005-11-18 18:54:58 +03:00
# Includes and libs
INCS = -I. -I${ROOT}/include -I${INCLUDE} -I/usr/include
LIBS = -L/usr/lib -lc
2005-11-18 18:54:58 +03:00
# Flags
CFLAGS = -g -Wall ${INCS} -DVERSION=\"${VERSION}\"
LDFLAGS = -g ${LIBS}
2007-03-26 09:26:10 +04:00
STATIC = -static
# Compiler
CC = cc -c
# Linker (Under normal circumstances, this should *not* be 'ld')
LD = cc
# Other
2007-05-21 05:22:12 +04:00
AR = ar crs
#AR = sh -c 'ar cr "$$@" && ranlib "$$@"'
P9PATHS = /usr/local/plan9 /usr/local/9 /opt/plan9 /opt/9 /usr/plan9 /usr/9
INCX11 = -I/usr/X11R6/include
LIBX11 = -L/usr/X11R6/lib -lX11
LIBIXP = ${ROOT}/libixp/libixp.a
2006-10-30 11:54:22 +03:00
# Solaris
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
#LDFLAGS = ${LIBS} -R${PREFIX}/lib
2006-10-30 11:54:22 +03:00
#LDFLAGS += -lsocket -lnsl
#CFLAGS += -xtarget=ultra
2007-05-21 05:22:12 +04:00
#FCALL_H_VERSION=.nounion