aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-14 04:45:22 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-14 04:45:22 +0200
commit33f3c3234c250908ae02fbe908c83a5fc4bf0461 (patch)
tree548e71c31dc8e4ab9bb4d0a3c39b6b47827d7837 /Makefile
parentm + add test client (diff)
downloadmds-33f3c3234c250908ae02fbe908c83a5fc4bf0461.tar.gz
mds-33f3c3234c250908ae02fbe908c83a5fc4bf0461.tar.bz2
mds-33f3c3234c250908ae02fbe908c83a5fc4bf0461.tar.xz
fix bugs
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1052984..ca1b6bb 100644
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,10 @@ MDS_SERVER_OBJ = mds-server/mds-server mds-server/interception_condition mds-ser
bin/mds-server: $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o) bin/libmdsserver.so
mkdir -p $(shell dirname $@)
$(CC) $(C_FLAGS) -o $@ $(LDS) $(foreach O,$(MDS_SERVER_OBJ),obj/$(O).o)
+ifeq ($(DEBUG),y)
+ mv $@ $@.real
+ cp test.d/mds-server $@
+endif
bin/%: obj/%.o bin/libmdsserver.so
mkdir -p $(shell dirname $@)