On Tuesday, 17 October, Ken Smith ([EMAIL PROTECTED]) wrote: > > clean_all: $(MODULES) > > $(foreach MOD,$(MODULES),make -C $(MOD) clean;)
You should always, always use $(MAKE) in your rules to invoke a sub-make, NEVER plain "make". > > The problem is that for win32 systems, semicolon is invalid character > > (maybe it should be replaced with &&, but this is illegal from the make > > parser side) There's nothing illegal about && from the make parser side. In fact, make doesn't do any parsing whatsoever of command lines other than expanding variables: it just passes everything to the shell and lets the shell sort it out. -- ------------------------------------------------------------------------------- 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 _______________________________________________ Make-w32 mailing list Make-w32@gnu.org http://lists.gnu.org/mailman/listinfo/make-w32