From bc190c5ac25155e0c4a53f8ea74e16082de6229d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 11 May 2014 07:02:16 +0200 Subject: a much of multicasting stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index acea291..d891b85 100644 --- a/Makefile +++ b/Makefile @@ -69,31 +69,32 @@ LIBOBJ = linked-list hash-table fd-table mds-message util all: bin/mds bin/mds-server/mds-server bin/libmdsserver.so -MDS_SERVER_OBJ = mds-server/mds-server mds-server/interception_condition mds-server/client +MDS_SERVER_OBJ = mds-server/mds-server mds-server/interception_condition mds-server/client \ + mds-server/multicast mds-server/queued_interception bin/mds-server/mds-server: $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o) bin/libmdsserver.so mkdir -p $(shell dirname $@) - gcc $(C_FLAGS) -o $@ -Lbin -lmdsserver -lrt $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o) + $(CC) $(C_FLAGS) -o $@ -Lbin -lmdsserver -lrt $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o) bin/%: obj/%.o bin/libmdsserver.so mkdir -p $(shell dirname $@) - gcc $(C_FLAGS) -o $@ -Lbin -lmdsserver -lrt obj/$*.o + $(CC) $(C_FLAGS) -o $@ -Lbin -lmdsserver -lrt obj/$*.o obj/mds-server/%.o: src/mds-server/%.c src/mds-server/*.h src/libmdsserver/*.h mkdir -p $(shell dirname $@) - gcc $(C_FLAGS) -Isrc -c -o $@ $< + $(CC) $(C_FLAGS) -Isrc -c -o $@ $< obj/%.o: src/%.c src/*.h src/libmdsserver/*.h mkdir -p $(shell dirname $@) - gcc $(C_FLAGS) -Isrc -c -o $@ $< + $(CC) $(C_FLAGS) -Isrc -c -o $@ $< bin/libmdsserver.so: $(foreach O,$(LIBOBJ),obj/libmdsserver/$(O).o) mkdir -p $(shell dirname $@) - gcc $(C_FLAGS) -shared -o $@ $^ + $(CC) $(C_FLAGS) -shared -o $@ $^ obj/libmdsserver/%.o: src/libmdsserver/%.c src/libmdsserver/*.h mkdir -p $(shell dirname $@) - gcc $(C_FLAGS) -fPIC -c -o $@ $< + $(CC) $(C_FLAGS) -fPIC -c -o $@ $< -- cgit v1.2.3-70-g09d2