[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Conditionally run "-include" in a rule?
From: |
Dave Hylands |
Subject: |
Re: Conditionally run "-include" in a rule? |
Date: |
Sat, 11 Mar 2006 18:14:53 -0800 |
Hi Matt,
> 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.
I intended to reply to the list, but forgot to do reply all.
For the record (since my replay was a little different from Paul's),
here's what I do:
ifeq ($(strip $(filter disclean clean% print%, $(MAKECMDGOALS))),)
-include $(ALL_DFILES)
endif
--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/