blob: 9448653191280c38a92cf47b25fe091abefd9539 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- Makefile.orig Sun Jun 14 08:11:40 1998
+++ Makefile Sat May 1 14:52:37 1999
@@ -1,16 +1,16 @@
#{{{script}}}#{{{ Linux, moria machines, gcc
-CFLAGS= -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
+#CFLAGS= -g -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
# The XDR library needs _BSD_SOURCE :(
CPPFLAGS= -D_BSD_SOURCE
#CPPFLAGS= -DTHE_ELECTRIC_FENCE
#CPPFLAGS= -I/usr/dmalloc/include -DDMALLOC
-LDFLAGS= -g
+#LDFLAGS= -g
#LDFLAGS= -g -L/usr/efence/lib
#LDFLAGS= -g -L/usr/dmalloc/lib
-LIBS= -lcurses -lm
+#LIBS= -lcurses -lm
#LIBS= -lcurses -lm -lefence
#LIBS= -lcurses -lm -ldmalloc
-MAKEDEPEND= mkdep -d
+#MAKEDEPEND= mkdep -d
#}}}
#{{{ Linux, Slackware/Redhat/Debian Distribution, gcc
#CC= gcc
@@ -22,10 +22,9 @@
#MAKEDEPEND= gcc -MM
#}}}
#{{{ FreeBSD 2.x, gcc
-#CC= gcc
-#CFLAGS= -pipe -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common
-#CPPFLAGS= -I./.curses.h -DNO_POSIX_SOURCE
-#LIBS= -lncurses -lmytinfo -lm
+CC?= gcc
+CFLAGS+= -Wmissing-prototypes -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wnested-externs -pedantic -fno-common -I./.curses.h -DNO_POSIX_SOURCE
+LIBS= -lncurses -lmytinfo -lm
#LDFLAGS=
#MAKEDEPEND= gcc -MM
#}}}
|