Add source files to proxy project

dynamic-accesslists
erdgeist 15 years ago
parent 9be794395f
commit 7f3b66b9af

@ -59,13 +59,15 @@ all: $(BINARY) $(BINARY).debug
CFLAGS_production = $(CFLAGS) $(OPTS_production) $(FEATURES)
CFLAGS_debug = $(CFLAGS) $(OPTS_debug) $(FEATURES)
SOURCES_proxy=proxy.c ot_vector.c ot_mutex.c
$(BINARY): $(OBJECTS) $(HEADERS)
$(CC) -o $@ $(OBJECTS) $(LDFLAGS)
strip $@
$(BINARY).debug: $(OBJECTS_debug) $(HEADERS)
$(CC) -o $@ $(OBJECTS_debug) $(LDFLAGS)
proxy: proxy.o ot_vector.o $(HEADERS)
$(CC) -o $@ proxy.o ot_vector.o $(LDFLAGS)
proxy: $(OBJECTS_proxy) $(HEADERS)
$(CC) -o $@ $(OBJECTS_proxy) $(LDFLAGS)
.c.debug.o : $(HEADERS)
$(CC) -c -o $@ $(CFLAGS_debug) $(<:.debug.o=.c)

Loading…
Cancel
Save