diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:02:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-11 07:02:16 +0200 |
commit | bc190c5ac25155e0c4a53f8ea74e16082de6229d (patch) | |
tree | 4d1e1f509e3b9f506dcdea8191a18ce2e1835d4e /Makefile | |
parent | m + release all resources before re-execing (diff) | |
download | mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.gz mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.bz2 mds-bc190c5ac25155e0c4a53f8ea74e16082de6229d.tar.xz |
a much of multicasting stuff
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -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 $@ $< |