From e5a7d03f648216012590a2debc57db174c9e4971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Fri, 27 Dec 2013 08:52:41 +0000 Subject: [PATCH] fixed depend targets --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3f88602..5626fc1 100644 --- a/Makefile +++ b/Makefile @@ -178,7 +178,7 @@ else MACHINE=MACHINE_M5484LITE endif $(1)/depend:$(SRCS) - $(CC) $$(CFLAGS) -D$$(MACHINE) $(INCLUDE) -M $$^ | sed -e "s#^\(.*\).o:#$$d/objs/\1.o:#" > $$@ + $(CC) $$(CFLAGS) -D$$(MACHINE) $(INCLUDE) -M $$^ | sed -e "s#^\(.*\).o:#"$(1)"/objs/\1.o:#" > $$@ endef $(foreach DIR,$(TRGTDIRS),$(eval $(call DEP_TEMPLATE,$(DIR))))