summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2007-01-06 22:25:09 +0000
committererdgeist <>2007-01-06 22:25:09 +0000
commit6b329a69599b2898561df1c8c52f776697481b11 (patch)
treef694b918351ec8c1a4442c995c508c76a87338f8
parent17c21a0bc4394ac6f0649b4b9c535554a0d8ace0 (diff)
tidy up options
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ff2ba60..b6d7d7e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,15 @@
1CC?=gcc 1CC?=gcc
2CFLAGS+=-I../libowfat -Wall -pipe -Os # -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER -DWANT_IP_FROM_QUERY_STRING -g -ggdb 2FEATURES=-DWANT_IP_FROM_QUERY_STRING #-DWANT_BLACKLIST -DWANT_CLOSED_TRACKER
3LDFLAGS+=-L../libowfat/ -lowfat -s -lm 3#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage
4DEBUG_OPTS=-s -Os
5CFLAGS+=-I../libowfat -Wall -pipe
6LDFLAGS+=-L../libowfat/ -lowfat -lm
4 7
5HEADERS=trackerlogic.h scan_urlencoded_query.h 8HEADERS=trackerlogic.h scan_urlencoded_query.h
6SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c 9SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c
7 10
8opentracker: $(SOURCES) $(HEADERS) 11opentracker: $(SOURCES) $(HEADERS)
9 $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(LDFLAGS) 12 $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(FEATURES) $(DEBUG_OPTS) $(LDFLAGS)
10 13
11clean: 14clean:
12 rm -rf opentracker 15 rm -rf opentracker