On 2011-04-10 10:16Z, ali hagigat wrote: > The make manual does not explain how to specify multi line shell > commands like if and for as a recipe.
See the explanation and examples here: http://www.gnu.org/software/make/manual/make.html#Splitting-Lines And here's an example of a for-loop split across multiple lines: http://www.gnu.org/software/make/manual/make.html#Phony-Targets subdirs: for dir in $(SUBDIRS); do \ $(MAKE) -C $$dir; \ done _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
