From 16b77658a7918c4363d22cc8663e406d2cedea92 Mon Sep 17 00:00:00 2001
From: Oliver Schmidt
Date: Sun, 12 May 2013 18:19:46 +0200
Subject: [PATCH] Made dependency handling for C sources actually work.
---
libsrc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libsrc/Makefile b/libsrc/Makefile
index b4393a6ac..aa61dda6b 100644
--- a/libsrc/Makefile
+++ b/libsrc/Makefile
@@ -211,7 +211,7 @@ endef
define COMPILE_recipe
@echo $(TARGET) - $<
-@$(CC) -t $(TARGET) $(CFLAGS) --create-dep $(@:.o=.d) -o $(@:.o=.s) $<
+@$(CC) -t $(TARGET) $(CFLAGS) --create-dep $(@:.o=.d) --dep-target $@ -o $(@:.o=.s) $<
@$(CA) -t $(TARGET) -o $@ $(@:.o=.s)
endef
--
2.39.5