On Jan 21, 2004, at 11:14 AM, Christopher J Bottaro wrote:
on another note, how would one do a recursive make clean without using a shell
for loop? right now i have it like this:
clean: @for d in $(SUBDIRS); do \ cd $dd && $(MAKE) clean || exit 1; \ done
but what is the "correct" way to do this?
clean: $(foreach DIR,$(SUBDIRS),$(MAKE) -C $(DIR) clean;)
Regards, -Steve -------- Steve Byan <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>
_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
