%% "EXT-Pennington, Dale K" <[EMAIL PROTECTED]> writes:
edk> What I need to do is to create any subdirectories under the main
edk> directory that a given make needs.
I prefer to do something like this:
MKDIRS += foo
MKDIRS += bar
...
__dummy := $(shell foreach d in $(MKDIRS); do [ -d $$d ] || mkdir -p $$d;
done)
That is loop is invoked once per invocation of make.
--
-------------------------------------------------------------------------------
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