If we happen to remove some old header files, the build should not
fail because the header files are still listed in the dependency
files.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
ifeq ($(C),2)
$(CHECKPATCH) -f $<
endif
+ $(Q)cp .$@.d .$@.P; \
+ sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
+ -e '/^$$/ d' -e 's/$$/ :/' < .$@.d >> .$@.P; \
+ mv .$@.P .$@.d
%-debug.o: %.c
$(QUIET_CC)$(CC) -MMD -MF .$@.d $(CFLAGS) -DDEBUG -O0 -c $< -o $@
+ $(Q)cp .$@.d .$@.P; \
+ sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\$$//' \
+ -e '/^$$/ d' -e 's/$$/ :/' < .$@.d >> .$@.P; \
+ mv .$@.P .$@.d
TAGS:
@echo -e "\tTAGS\t"