At 3/11/2006 11:13 AM, Paul D. Smith wrote:
I don't think there's an answer to your original question, but you can
_certainly_ make your tests cleaner than this:

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

ifneq (,$(filter $(NINCLUDE_TARGETS),$(MAKECMDGOALS)))
  -include $(ALL_DFILES)
endif

Yes, very good point, thanks. (And also thanks to Dave Hylands for making the same suggestion in a private email.) I'll be changing my core Makefile appropriately.

-Matt


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

Reply via email to