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
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C

View File

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