aboutsummaryrefslogtreecommitdiff
path: root/Makefile.linux
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunk@stsci.edu>2009-09-17 13:05:39 -0400
committerJoseph Hunkeler <jhunk@stsci.edu>2009-09-17 13:05:39 -0400
commit4eea3bc9a09d90187a025c0eb4462dbfdc4a8234 (patch)
tree817ee48ea97198f337252e9cb65ddb30e357dd6b /Makefile.linux
parent8a7e1f1f3007136f06049a0b89d71dda70ab0a6f (diff)
downloadNetNuke-4eea3bc9a09d90187a025c0eb4462dbfdc4a8234.tar.gz
human_readable.c (on linux) stopped working, so i had to comment out fts.h for no reason.
i discovered a bug in static pattern writing that did not fill the buffer correctly. now it works fine. messing with the makefiles, but nothing much has changed
Diffstat (limited to 'Makefile.linux')
-rw-r--r--Makefile.linux11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile.linux b/Makefile.linux
index 6f53f9c..7650dfe 100644
--- a/Makefile.linux
+++ b/Makefile.linux
@@ -1,6 +1,11 @@
-CFLAGS=-Wall -pipe -O2 -funroll-loops
-OUTPUT=netnuke
+CFLAGS=-std=c99 -Wall -pipe -O2
+DEFINES=
+LFLAGS=-lutil -ltermcap
+PACKAGE=netnuke
all:
- gcc -o ${OUTPUT} -lutil ${CFLAGS} netnuke.c human_readable.c
+ cc -o $(PACKAGE) $(DEFINES) $(CFLAGS) $(LFLAGS) netnuke.c human_readable.c
+ strip netnuke
+clean:
+ rm netnuke