aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-20 04:32:00 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-20 04:33:14 +0200
commit799e2d46923728ac670d7110f764868b82333a0b (patch)
treeff206e5bc62672ed31910e7ca52aed7b106618b1 /Makefile
parentmisc, mostly mds-base re-exec (diff)
downloadmds-799e2d46923728ac670d7110f764868b82333a0b.tar.gz
mds-799e2d46923728ac670d7110f764868b82333a0b.tar.bz2
mds-799e2d46923728ac670d7110f764868b82333a0b.tar.xz
Modify mds-server to use mds-base (some regression...)
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 9539a7d..faf08df 100644
--- a/Makefile
+++ b/Makefile
@@ -76,17 +76,17 @@ LIBOBJ = linked-list hash-table fd-table mds-message util
# Build rules.
.PHONY: all
-all: bin/mds bin/mds-server bin/libmdsserver.so obj/mds-base.o
+all: obj/mds-base.o bin/mds bin/mds-server bin/libmdsserver.so
MDS_SERVER_OBJ_ = mds-server interception_condition client multicast \
queued_interception globals signals interceptors \
sending slavery reexec receiving
-MDS_SERVER_OBJ = $(foreach O,$(MDS_SERVER_OBJ_),mds-server/$(O))
+MDS_SERVER_OBJ = obj/mds-base.o $(foreach O,$(MDS_SERVER_OBJ_),obj/mds-server/$(O).o)
-bin/mds-server: $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o) bin/libmdsserver.so
+bin/mds-server: $(MDS_SERVER_OBJ) bin/libmdsserver.so
mkdir -p $(shell dirname $@)
- $(CC) $(C_FLAGS) -o $@ $(LDS) $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o)
+ $(CC) $(C_FLAGS) -o $@ $(LDS) $(MDS_SERVER_OBJ)
ifeq ($(DEBUG),y)
mv $@ $@.real
cp test.d/mds-server $@