[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?


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

 Paul D. Smith <address@hidden>          Find some GNU make tips at:            
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist

reply via email to

[Prev in Thread] Current Thread [Next in Thread]