summaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makerules b/Makerules
index b6a91c5e8..c27f0a3ce 100644
--- a/Makerules
+++ b/Makerules
@@ -123,7 +123,7 @@ maybe_exec = $(if $(strip $(compare_flags) $(any-prereq)), \
$(cmd_$(1)); \
echo 'cmd_$@ := $(cmd_$1)' >> $(dir $@).$(notdir $@).dep)
-CFLAGS_gen.dep = -MT $@ -MD -MF $(dir $@).$(notdir $@).dep
+CFLAGS_gen.dep = -MT $@ -MD -MP -MF $(dir $@).$(notdir $@).dep
cmd_compile.c = $(CC) -c $< -o $@ $(CFLAGS) $(ARCH_CFLAGS) \
$(CFLAGS-$(suffix $@)) \