diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-07 11:16:38 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-07 11:16:38 +0200 |
commit | f662304a724e2f8d5d959f1b09790ce1ac234a40 (patch) | |
tree | 96d944646e87f7cc7e8cef9ab143df57822d24da /Makefile | |
parent | fix payload reading (last regression) (diff) | |
download | mds-f662304a724e2f8d5d959f1b09790ce1ac234a40.tar.gz mds-f662304a724e2f8d5d959f1b09790ce1ac234a40.tar.bz2 mds-f662304a724e2f8d5d959f1b09790ce1ac234a40.tar.xz |
beginning of mds-respawn
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -76,7 +76,7 @@ LIBOBJ = linked-list hash-table fd-table mds-message util # Build rules. .PHONY: all -all: obj/mds-base.o bin/mds bin/mds-server bin/libmdsserver.so +all: obj/mds-base.o bin/mds bin/mds-respawn bin/mds-server bin/libmdsserver.so MDS_SERVER_OBJ_ = mds-server interception-condition client multicast \ @@ -92,9 +92,13 @@ ifeq ($(DEBUG),y) cp test.d/mds-server $@ endif -bin/%: obj/%.o bin/libmdsserver.so +bin/%: obj/%.o obj/mds-base.o bin/libmdsserver.so mkdir -p $(shell dirname $@) - $(CC) $(C_FLAGS) -o $@ $(LDS) obj/$*.o + $(CC) $(C_FLAGS) -o $@ $(LDS) $< obj/mds-base.o + +bin/mds: obj/mds.o bin/libmdsserver.so + mkdir -p $(shell dirname $@) + $(CC) $(C_FLAGS) -o $@ $(LDS) $< obj/mds-server/%.o: src/mds-server/%.c src/mds-server/*.h src/libmdsserver/*.h mkdir -p $(shell dirname $@) |