summaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk13
1 files changed, 7 insertions, 6 deletions
diff --git a/config.mk b/config.mk
index 2827e98..216e7df 100644
--- a/config.mk
+++ b/config.mk
@@ -12,16 +12,17 @@ X11LIB = /usr/X11R6/lib
12 12
13# includes and libs 13# includes and libs
14INCS = -I. -I/usr/include -I${X11INC} 14INCS = -I. -I/usr/include -I${X11INC}
15LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 15LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil
16
17# uncomment your system #
18#SYSTEM = -DLINUX
19#SYSTEM = -DOPENBSD
20#SYSTEM = -DFREEBSD
16 21
17# flags 22# flags
18CPPFLAGS = -DVERSION=\"${VERSION}\" 23CPPFLAGS = -DVERSION=\"${VERSION}\" ${SYSTEM}
19CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 24CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
20LDFLAGS = -s ${LIBS} 25LDFLAGS = -s ${LIBS}
21 26
22# Solaris
23#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
24#LDFLAGS = ${LIBS}
25
26# compiler and linker 27# compiler and linker
27CC = cc 28CC = cc