[EMAIL PROTECTED] said: > 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.
Is there any reason for the __dummy? I have a Makefile that does: $(shell mkdir -p $(OUTDIR)) and that seems to work fine. Jason _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
