Skip to content

Commit

Permalink
Add source files to proxy project
Browse files Browse the repository at this point in the history
  • Loading branch information
erdgeist committed Oct 15, 2009
1 parent 4f96489 commit f665cdc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $Id: Makefile,v 1.63 2009/09/02 01:47:44 erdgeist Exp $
# $Id: Makefile,v 1.64 2009/10/15 18:17:03 erdgeist Exp $

CC?=gcc

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit f665cdc

Please sign in to comment.