summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2010-08-14 01:08:13 +0000
committererdgeist <>2010-08-14 01:08:13 +0000
commitc005b42be4c7dc57f9a236fe47a0f158238d3fff (patch)
treedf379d5e73c7d63bb41d1686c73168a58e24e166
parent8d025a174519d30f6904888ec4daaa19cce69c46 (diff)
enable proxy.debug target
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e91cc1..45b6edf 100644
--- a/Makefile
+++ b/Makefile
@@ -53,6 +53,7 @@ SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c
53OBJECTS = $(SOURCES:%.c=%.o) 53OBJECTS = $(SOURCES:%.c=%.o)
54OBJECTS_debug = $(SOURCES:%.c=%.debug.o) 54OBJECTS_debug = $(SOURCES:%.c=%.debug.o)
55OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o) 55OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o)
56OBJECTS_proxy_debug = $(SOURCES_proxy:%.c=%.debug.o)
56 57
57.SUFFIXES: .debug.o .o .c 58.SUFFIXES: .debug.o .o .c
58 59
@@ -67,7 +68,9 @@ $(BINARY): $(OBJECTS) $(HEADERS)
67$(BINARY).debug: $(OBJECTS_debug) $(HEADERS) 68$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)
68 $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS) 69 $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS)
69proxy: $(OBJECTS_proxy) $(HEADERS) 70proxy: $(OBJECTS_proxy) $(HEADERS)
70 $(CC) -o $@ $(OBJECTS_proxy) $(LDFLAGS) 71 $(CC) -o $@ $(OBJECTS_proxy) $(CFLAGS_production) $(LDFLAGS)
72proxy.debug: $(OBJECTS_proxy_debug) $(HEADERS)
73 $(CC) -o $@ $(OBJECTS_proxy_debug) $(LDFLAGS)
71 74
72.c.debug.o : $(HEADERS) 75.c.debug.o : $(HEADERS)
73 $(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c) 76 $(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c)