diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -59,13 +59,15 @@ all: $(BINARY) $(BINARY).debug | |||
59 | CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) | 59 | CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) |
60 | CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) | 60 | CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) |
61 | 61 | ||
62 | SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c | ||
63 | |||
62 | $(BINARY): $(OBJECTS) $(HEADERS) | 64 | $(BINARY): $(OBJECTS) $(HEADERS) |
63 | $(CC) -o $@ $(OBJECTS) $(LDFLAGS) | 65 | $(CC) -o $@ $(OBJECTS) $(LDFLAGS) |
64 | strip $@ | 66 | strip $@ |
65 | $(BINARY).debug: $(OBJECTS_debug) $(HEADERS) | 67 | $(BINARY).debug: $(OBJECTS_debug) $(HEADERS) |
66 | $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS) | 68 | $(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS) |
67 | proxy: proxy.o ot_vector.o $(HEADERS) | 69 | proxy: $(OBJECTS_proxy) $(HEADERS) |
68 | $(CC) -o $@ proxy.o ot_vector.o $(LDFLAGS) | 70 | $(CC) -o $@ $(OBJECTS_proxy) $(LDFLAGS) |
69 | 71 | ||
70 | .c.debug.o : $(HEADERS) | 72 | .c.debug.o : $(HEADERS) |
71 | $(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c) | 73 | $(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c) |