[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kicking myself w/ Target specific variables on gmake 3.79.1
From: |
Paul D. Smith |
Subject: |
Re: Kicking myself w/ Target specific variables on gmake 3.79.1 |
Date: |
Tue, 10 Apr 2001 09:52:54 -0400 |
%% address@hidden 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 <address@hidden> 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