From 818b53a4d442271f61edbdc08f7f47ee651821b3 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 8 May 2014 03:08:14 +0200 Subject: split up mds-server structs into their own .h-files and add marshal functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0d108e1..1ea639c 100644 --- a/Makefile +++ b/Makefile @@ -69,10 +69,20 @@ LIBOBJ = linked-list hash-table fd-table mds-message util all: bin/mds bin/mds-server/mds-server bin/libmdsserver.so +bin/mds-server/mds-server: obj/mds-server/mds-server.o bin/libmdsserver.so \ + obj/mds-server/interception_condition.o \ + obj/mds-server/client.o + mkdir -p $(shell dirname $@) + gcc $(C_FLAGS) -o $@ -Lbin -lmdsserver -lrt obj/mds-server/mds-server.o + bin/%: obj/%.o bin/libmdsserver.so mkdir -p $(shell dirname $@) gcc $(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 $@ $< + obj/%.o: src/%.c src/*.h src/libmdsserver/*.h mkdir -p $(shell dirname $@) gcc $(C_FLAGS) -Isrc -c -o $@ $< -- cgit v1.2.3-70-g09d2