dependencies : add -MG option to ignore missing .h files

This commit is contained in:
Thomas Bernard
2019-02-08 11:24:32 +01:00
parent b270f0d981
commit a0a4feb8b6

View File

@@ -792,7 +792,7 @@ CC_0 = @echo "$(if $(findstring .o,$@),Compiling $<,$(if $(findstring .d,$@),Bui
CC_1 = $(ACTUAL_CC) CC_1 = $(ACTUAL_CC)
CC = $(CC_$(V)) CC = $(CC_$(V))
DEPFLAGS = -MM -MT $(patsubst %.d,%.o,$@) -MT $@ DEPFLAGS = -MM -MG -MT $(patsubst %.d,%.o,$@) -MT $@
# -M : with system headers, -MM : without # -M : with system headers, -MM : without
ifeq ($(PLATFORM),Darwin) ifeq ($(PLATFORM),Darwin)