On Tue, 2015-08-25 at 10:40 -0700, Ploppz wrote: > Ah, thanks! I was a bit confused in what degree I can rely on > bash/shell functionality in make. Is the body of rules just plain sh > or something else?
All recipes are passed to /bin/sh (not bash, unless you set the SHELL variable explicitly in your makefile) [*]. Make just starts the shell, gives it the recipe, and waits to see what the exit code is. [*] Actually if your recipe is "simple enough" make will invoke it directly rather than starting a shell, for efficiency, but the results should be identical. _______________________________________________ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make