From 268ed66583490f95faa7b80496474df44767353a Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 6 May 2012 23:31:28 +0200 Subject: digital/avr/make: add -MP option to ignore missing include files in dependencies --- digital/avr/make/Makefile.gen | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'digital/avr') diff --git a/digital/avr/make/Makefile.gen b/digital/avr/make/Makefile.gen index bd9c672c..b3f83079 100644 --- a/digital/avr/make/Makefile.gen +++ b/digital/avr/make/Makefile.gen @@ -6,7 +6,7 @@ INCLUDES := $(INCLUDES) -I$(BASE) -I$(BASE)/common CFLAGS := -g -Wall -W -Wundef -Wno-unused-parameter -Wno-pointer-sign \ $(OPTIMIZE) ASFLAGS := -Wa,--gstabs -CPPFLAGS := $(DEFS) $(INCLUDES) -MMD \ +CPPFLAGS := $(DEFS) $(INCLUDES) -MP -MMD \ $(if $(CONFIGFILE),$(CONFIGFILE:%=-include %)) LDFLAGS := LDLIBS := $(LIBS) -- cgit v1.2.3