From 33f3c3234c250908ae02fbe908c83a5fc4bf0461 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 14 May 2014 04:45:22 +0200 Subject: fix bugs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') 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 $@) -- cgit v1.2.3-70-g09d2