%% [EMAIL PROTECTED] writes:
c> It's complicated because there are a whole series of rules which
c> use $(INSTALL_DIR) in my example. If I could get away with one
c> rule just using a pattern I would...
c> Consider:
c> install-%: install-part1 install-part2 install-part3 install-part4
By this I assume you mean that different installation targets have
different prerequisites?
In that case you'll need to use static pattern rules. This will require
writing a different rule for each set of targets, though.
The best you can do to automate it is to use auto-generated makefiles, I
guess.
--
-------------------------------------------------------------------------------
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