help-make
[Top][All Lists]
Advanced

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

RE: Must be very simple


From: Paul D. Smith
Subject: RE: Must be very simple
Date: Mon, 20 Mar 2006 11:11:51 -0500

%% "PATTON, BILLY \(SBCSI\)" <address@hidden> writes:

  pb> Yes you are correct, It does not need to be in a rule format.
  pb> This must be done before any rules are defined because these files
  pb> have lists that are there to create the rules.  But because the
  pb> list may be edited I need to get he lists form the SRC_TREE if the
  pb> exist then the other directory if they do not exist.

See my info about $(wildcard ...).

Of course, the normal way to do this is invoke make with -I:

    make -I $(SRC_TREE) -I $(OTHER_DIR) ...

then just use:

    include make.include

and make will walk the list of -I directories and include the first
"make.include" it finds.

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