Restore test file dependencies so they're rebuilt properly (#5617)
This commit is contained in:
parent
e9ab070e7d
commit
0a830b5a5a
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -414,6 +414,10 @@ $(TEST_BUILDDIR)/%.o: $(TEST_SUBDIR)/%.c
|
||||||
$(TEST_BUILDDIR)/%.d: $(TEST_SUBDIR)/%.c
|
$(TEST_BUILDDIR)/%.d: $(TEST_SUBDIR)/%.c
|
||||||
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $<
|
$(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $<
|
||||||
|
|
||||||
|
ifneq ($(NODEP),1)
|
||||||
|
-include $(addprefix $(OBJ_DIR)/,$(TEST_SRCS:.c=.d))
|
||||||
|
endif
|
||||||
|
|
||||||
$(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s
|
$(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s
|
||||||
$(AS) $(ASFLAGS) -o $@ $<
|
$(AS) $(ASFLAGS) -o $@ $<
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue