Makefile: Fix "No rule to make target X.h" for generated header dependencies

pull/3/merge
Angus Gratton 2016-08-29 10:48:53 +10:00
rodzic f4b3820ecd
commit ee388097f6
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -83,8 +83,8 @@ clean:
endif endif
#Also generate dependency files #Also generate dependency files
CFLAGS+=-MMD CFLAGS+=-MMD -MP
CXXFLAGS+=-MMD CXXFLAGS+=-MMD -MP
#Include all dependency files already generated #Include all dependency files already generated
-include $(COMPONENT_OBJS:.o=.d) -include $(COMPONENT_OBJS:.o=.d)