summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e9e7c84..57f257a 100644
--- a/Makefile
+++ b/Makefile
@@ -59,13 +59,15 @@ all: $(BINARY) $(BINARY).debug
59CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES) 59CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
60CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES) 60CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
61 61
62SOURCES_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)
67proxy: proxy.o ot_vector.o $(HEADERS) 69proxy: $(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)