Over 450 + directories -I would be too large. I'm working on a rule
all : inc_makefiles .NONPARALLEL : inc_makefile inc_makefile : <tab>$(foreach ... But this will not work. I must have these variables alive for the creation of rules before any rules fire. wildcard will work if I know if the first directory exists. If it doesn't I don't want to wildcard the second directory I could K's of duplicate variables. -----Original Message----- From: Paul Smith [mailto:[EMAIL PROTECTED] On Behalf Of Paul D. Smith Sent: Monday, March 20, 2006 10:12 AM To: PATTON, BILLY (SBCSI) Cc: [email protected] Subject: RE: Must be very simple %% "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
