diff options
author | erdgeist <> | 2009-10-15 18:17:03 +0000 |
---|---|---|
committer | erdgeist <> | 2009-10-15 18:17:03 +0000 |
commit | 7f3b66b9afacc2d8a11a33a719a3cfb1dca35e1f (patch) | |
tree | 30186795c30644a3eb7099916811f260b651bdc3 | |
parent | 9be794395fd6cd83d5b580ec433edc060182a9b7 (diff) |
Add source files to proxy project
-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) |