help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: one command for multiple pattern rules


From: Paul D. Smith
Subject: Re: one command for multiple pattern rules
Date: Tue, 12 Feb 2002 11:57:58 -0500

%% Maciej Walezak <address@hidden> writes:

  mw> Is there a possibility to write it in more compact way
  mw> i.e. without redundantly repeating the command?

No.

You can put the command in a variable, so at least you only need to
write/change one variable.

You can also auto-generate the rules by using GNU make's auto-re-exec
feature.

Other than that, you just have to write them all out by hand.

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



reply via email to

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