%% "PATTON, BILLY \(SBCSI\)" <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>          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


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to