%% Uri Shkolnik <[EMAIL PROTECTED]> writes: >> MAKEDIRS = \ >> $(UTILS_MODULE)/build/sms1000 \ >> $(DVB_H_HANDOVER_MODULE)/build/sms1000 \ >> >> .PHONY: test1 >> test1: CreateMasterParamFile >> @echo **** TEST **** >> $(foreach dir, $(MAKEDIRS), $(MAKE) clean -C $(dir);)
This is the wrong way to build in subdirectories. There are lots of problems with this, not the least of which if one directory fails to build it won't stop trying to build the rest of them. Look at the section on "Phony Targets" in the GNU make manual for a discussion of this. -- ------------------------------------------------------------------------------- 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
