help-make
[Top][All Lists]
Advanced

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

Re: How to utilize pattern rules if...


From: Paul D. Smith
Subject: Re: How to utilize pattern rules if...
Date: Wed, 7 Dec 2005 15:13:51 -0500

%% "Hua Tang" <address@hidden> writes:

  ht> How to utilize pattern rules if the target is in a different
  ht> directory from the source?

  ht> Say, if I want to collect all object files into ./obj/ and not
  ht> leaving any .o files in any source directories, how should I
  ht> modify the "%.o : %.c" ?

obj/%.o : %.c
            ...

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




reply via email to

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