diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-08 03:08:14 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-08 03:08:14 +0200 |
commit | 818b53a4d442271f61edbdc08f7f47ee651821b3 (patch) | |
tree | e5c248e8de54bff1d42443edd125158111dbf882 /Makefile | |
parent | Move mds-server into its own directory (diff) | |
download | mds-818b53a4d442271f61edbdc08f7f47ee651821b3.tar.gz mds-818b53a4d442271f61edbdc08f7f47ee651821b3.tar.bz2 mds-818b53a4d442271f61edbdc08f7f47ee651821b3.tar.xz |
split up mds-server structs into their own .h-files and add marshal functions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 $@ $< |