summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorerdgeist <>2009-10-15 18:23:20 +0000
committererdgeist <>2009-10-15 18:23:20 +0000
commit9d4f0e66d072ca8b9b9f25d567de027ded7be880 (patch)
treefe0b7dae579d23e6b280ff4ce108e9ab798b7ad7 /Makefile
parent7f3b66b9afacc2d8a11a33a719a3cfb1dca35e1f (diff)
Need to compile sources for proxy
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 57f257a..8e7fc87 100644
--- a/Makefile
+++ b/Makefile
@@ -48,9 +48,11 @@ LDFLAGS+=-L$(LIBOWFAT_LIBRARY) -lowfat -pthread -lpthread -lz
48BINARY =opentracker 48BINARY =opentracker
49HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h ot_http.h ot_livesync.h 49HEADERS=trackerlogic.h scan_urlencoded_query.h ot_mutex.h ot_stats.h ot_vector.h ot_clean.h ot_udp.h ot_iovec.h ot_fullscrape.h ot_accesslist.h ot_http.h ot_livesync.h
50SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.c ot_vector.c ot_clean.c ot_udp.c ot_iovec.c ot_fullscrape.c ot_accesslist.c ot_http.c ot_livesync.c 50SOURCES=opentracker.c trackerlogic.c scan_urlencoded_query.c ot_mutex.c ot_stats.c ot_vector.c ot_clean.c ot_udp.c ot_iovec.c ot_fullscrape.c ot_accesslist.c ot_http.c ot_livesync.c
51SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c
51 52
52OBJECTS = $(SOURCES:%.c=%.o) 53OBJECTS = $(SOURCES:%.c=%.o)
53OBJECTS_debug = $(SOURCES:%.c=%.debug.o) 54OBJECTS_debug = $(SOURCES:%.c=%.debug.o)
55OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o)
54 56
55.SUFFIXES: .debug.o .o .c 57.SUFFIXES: .debug.o .o .c
56 58
@@ -59,8 +61,6 @@ all: $(BINARY) $(BINARY).debug
59CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) 61CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
60CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) 62CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
61 63
62SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c
63
64$(BINARY): $(OBJECTS) $(HEADERS) 64$(BINARY): $(OBJECTS) $(HEADERS)
65 $(CC) -o $@ $(OBJECTS) $(LDFLAGS) 65 $(CC) -o $@ $(OBJECTS) $(LDFLAGS)
66 strip $@ 66 strip $@