Better explanation coming :)
-----Original Message-----
From: Paul Smith [mailto:[EMAIL PROTECTED] On Behalf Of Paul D. Smith
Sent: Monday, March 20, 2006 10:27 AM
To: PATTON, BILLY (SBCSI)
Cc: [email protected]
Subject: RE: Must be very simple
%% "PATTON, BILLY \(SBCSI\)" <[EMAIL PROTECTED]> writes:
pb> Over 450 + directories -I would be too large.
Are they under two different prefixes, like:
/master/dira/dirb/dirc/make.include
/source/dira/dirb/dirc/make.include
?? if so you can use:
make -I /source -I /master
include dira/dirb/dirc/make.include
Again, without full specifications it's hard to advise you.
pb> I'm working on a rule
pb> all : inc_makefiles
pb> .NONPARALLEL : inc_makefile
pb> inc_makefile :
pb> <tab>$(foreach ...
pb> But this will not work.
It will _work_, exactly as you've written it. However, it obviously
doesn't do anything close to what you're looking for (just describe what
that makefile does to yourself in English and you'll see...)
pb> wildcard will work if I know if the first directory exists. If it
pb> doesn't I don't want to wildcard the second directory I could K's
pb> of duplicate variables.
Sorry, I didn't understand what you said. I don't see any problem with
the directory not existing.
Please check the docs for how $(wildcard ...) works.
--
------------------------------------------------------------------------
-------
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