%% "William F. Dowling" <[EMAIL PROTECTED]> writes:
wfd> the quoting seems to work fine, but I had to protect the $(BINS), else
wfd> I get a shell syntax error when $(BINS) happens to be empty.
Yes, definitely.
wfd> I am not wild about the dependency on Makefile. Won't this give
wfd> me spurious re-execs of make?
Yes, but you don't have any choice.
You need to have the include file rebuilt whenever the contents of the
EXE_NAMES variable changes, otherwise it won't work. There's no other
way to do it than having it depend on the Makefile, except for putting
the setting of EXE_NAMES in some other file and including that; then you
can have the extradeps file depend on that EXE_NAMES setting file
instead.
Personally, I think that's much more annoying than the occasional
spurious rebuild of the deps file (which people will very likely hardly
even notice).
YM, of course, MV.
--
-------------------------------------------------------------------------------
Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make