On Tue, Oct 13, 2009 at 11:49 PM, Payal <[email protected]> wrote: > I have a simple makefile like this. > > $ cat Makefile > .PHONY: one two > > obj = foo.c bar.c car.c > > one: ... > $ make ... > Why is ruleset "two" not executed?
To quote the GNU make info pages: ---- 9.2 Arguments to Specify the Goals ================================== The "goals" are the targets that `make' should strive ultimately to update. Other targets are updated as well if they appear as prerequisites of goals, or prerequisites of prerequisites of goals, etc. By default, the goal is the first target in the makefile (not counting targets that start with a period). <...> ---- Philip Guenther _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
