help-make
[Top][All Lists]
Advanced

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

RE: Must be very simple


From: PATTON, BILLY \(SBCSI\)
Subject: RE: Must be very simple
Date: Mon, 20 Mar 2006 10:30:27 -0600

Better explanation coming :)

-----Original Message-----
From: Paul Smith [mailto:address@hidden On Behalf Of Paul D. Smith
Sent: Monday, March 20, 2006 10:27 AM
To: PATTON, BILLY (SBCSI)
Cc: address@hidden
Subject: RE: Must be very simple


%% "PATTON, BILLY \(SBCSI\)" <address@hidden> 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 <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]