[Top][All Lists]
[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 11:28:46 -0600 |
For now I have this
-include $(wildcard $(MAKEINC_DIR)/*.make.*)
-include $(wildcard $(TOP_DIR)/SOURCE_TREE/*/make.*)
-include $(wildcard $(TOP_DIR)/SOURCE_TREE/*/*/make.*)
-include $(wildcard $(TOP_DIR)/SOURCE_TREE/*/*/*/make.*)
This has the possibility of duplication K variables
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of PATTON,
BILLY (SBCSI)
Sent: Monday, March 20, 2006 10:30 AM
To: Paul D. Smith
Cc: address@hidden
Subject: RE: Must be very simple
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
_______________________________________________
Help-make mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-make
- RE: Must be very simple, (continued)
- RE: Must be very simple, PATTON, BILLY \(SBCSI\), 2006/03/20
- RE: Must be very simple, PATTON, BILLY \(SBCSI\), 2006/03/20
- RE: Must be very simple, PATTON, BILLY \(SBCSI\), 2006/03/20
- RE: Must be very simple, PATTON, BILLY \(SBCSI\), 2006/03/20
- RE: Must be very simple, PATTON, BILLY \(SBCSI\), 2006/03/20
- RE: Must be very simple,
PATTON, BILLY \(SBCSI\) <=
- RE: Must be very simple, PATTON, BILLY \(SBCSI\), 2006/03/20