[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic Search for Object Files in the Link Stage
From: |
Paul D. Smith |
Subject: |
Re: Automatic Search for Object Files in the Link Stage |
Date: |
Sun, 9 Jan 2005 11:45:44 -0500 |
%% "Doron Bleiberg" <address@hidden> writes:
db> I know that I can use VPATH for the prerequisites, but how can I
db> search for files in the Link stage ?
Not sure what you mean. If you use automatic variables in your link
command line, instead of hardcoding the filenames, then it will all Just
Work.
See the GNU make manual section on VPATH/vpath.
--
-------------------------------------------------------------------------------
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