I have the following make target
POSSIBLE_DIRS = $(shell ls -1d *)
foo: $(POSSIBLE_DIRS)
$(PRINT) "Done"
$(POSSIBLE_DIRS)
$(PRINT) "Testing $@"
if[ -d $@ ]; then cd $@; make; fi
When I try this it stops after the first token in POSSIBLE_DIRS. I thought
it would
iterate for each token. What did I do wrong. I am not sure if this is a
make issue
of shell issue.
William Peets
General Dynamics Defense Systems
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make