On Wed, 2010-11-10 at 11:41 +0200, Oleksandr Gavenko wrote: > > install: > > cd subdir&& $(MAKE) > > > How about > > instal: > $(MAKE) -C subdir > > Is this usual pattern?
These are equivalent. The advantage of the former is that it's portable to other variants of make. The advantage of the latter is that (as long as you know you're using GNU make and the command is not more complex) you get a bit of efficiency boost by avoiding a shell invocation. -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "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
