[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Implicit Rules
From: |
Paul D. Smith |
Subject: |
Re: Implicit Rules |
Date: |
Fri, 11 Apr 2003 21:02:30 -0400 |
%% Mike Gibson <address@hidden> writes:
mg> %-%.out : %.src %.src
mg> create_out $^
mg> Is there any way to create an implicit rule that deals with two
mg> patterns instead of just one?
No.
You'll have to use explicit rules. The latest version of GNU make has
an $(eval ...) function which is extremely powerful and might help
(although there are a few issues with it in 3.80 which will be fixed in
3.81).
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- Implicit Rules, Mike Gibson, 2003/04/11
- Re: Implicit Rules,
Paul D. Smith <=