diff options
author | erdgeist <> | 2010-08-14 01:08:13 +0000 |
---|---|---|
committer | erdgeist <> | 2010-08-14 01:08:13 +0000 |
commit | c005b42be4c7dc57f9a236fe47a0f158238d3fff (patch) | |
tree | df379d5e73c7d63bb41d1686c73168a58e24e166 | |
parent | 8d025a174519d30f6904888ec4daaa19cce69c46 (diff) |
enable proxy.debug target
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -53,6 +53,7 @@ SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c | |||
53 | OBJECTS = $(SOURCES:%.c=%.o) | 53 | OBJECTS = $(SOURCES:%.c=%.o) |
54 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) | 54 | OBJECTS_debug = $(SOURCES:%.c=%.debug.o) |
55 | OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o) | 55 | OBJECTS_proxy = $(SOURCES_proxy:%.c=%.o) |
56 | OBJECTS_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) |
69 | proxy: $(OBJECTS_proxy) $(HEADERS) | 70 | proxy: $(OBJECTS_proxy) $(HEADERS) |
70 | $(CC) -o $@ $(OBJECTS_proxy) $(LDFLAGS) | 71 | $(CC) -o $@ $(OBJECTS_proxy) $(CFLAGS_production) $(LDFLAGS) |
72 | proxy.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) |