From 6b329a69599b2898561df1c8c52f776697481b11 Mon Sep 17 00:00:00 2001 From: erdgeist <> Date: Sat, 6 Jan 2007 22:25:09 +0000 Subject: [PATCH] tidy up options --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ff2ba60..b6d7d7e 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,15 @@ CC?=gcc -CFLAGS+=-I../libowfat -Wall -pipe -Os # -DWANT_BLACKLIST -DWANT_CLOSED_TRACKER -DWANT_IP_FROM_QUERY_STRING -g -ggdb -LDFLAGS+=-L../libowfat/ -lowfat -s -lm +FEATURES=-DWANT_IP_FROM_QUERY_STRING #-DWANT_BLACKLIST -DWANT_CLOSED_TRACKER +#DEBUG_OPTS=-g -ggdb -pg # -fprofile-arcs -ftest-coverage +DEBUG_OPTS=-s -Os +CFLAGS+=-I../libowfat -Wall -pipe +LDFLAGS+=-L../libowfat/ -lowfat -lm HEADERS=trackerlogic.h scan_urlencoded_query.h SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c opentracker: $(SOURCES) $(HEADERS) - $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(LDFLAGS) + $(CC) $(SOURCES) -o opentracker $(CFLAGS) $(FEATURES) $(DEBUG_OPTS) $(LDFLAGS) clean: rm -rf opentracker