help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ruleset not being executed


From: Philip Guenther
Subject: Re: ruleset not being executed
Date: Wed, 14 Oct 2009 00:10:00 -0700

On Tue, Oct 13, 2009 at 11:49 PM, Payal <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]