For the record (in case someone references the code in this email archive thread later), the following is a copy of the working code I have running in my modified core Makefile.

-Matt


##
## Only make the .d files if we are not running special
## makefile targets like 'clean' and other, .PHONY targets.
##

NINCLUDE_TARGETS := clean          \
                                                  distclean      \
                                                  cleanall       \
                                                  cleanandfiles  \
                                                  cleantmpdfiles \
                    cleanendtgts   \
                                                  printvar       \
                                                  printvar2      \
                                                  cleanpkg

ifeq ($(strip $(filter $(NINCLUDE_TARGETS),$(MAKECMDGOALS))),)
-include $(ALL_DFILES)
endif



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to