Made dependency handling for C sources actually work.
This commit is contained in:
@@ -211,7 +211,7 @@ endef
|
|||||||
define COMPILE_recipe
|
define COMPILE_recipe
|
||||||
|
|
||||||
@echo $(TARGET) - $<
|
@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)
|
@$(CA) -t $(TARGET) -o $@ $(@:.o=.s)
|
||||||
|
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user