help-make
[Top][All Lists]
Advanced

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

Re: foo.c is mentioned!


From: Paul Smith
Subject: Re: foo.c is mentioned!
Date: Mon, 27 Sep 2010 09:03:13 -0400

On Mon, 2010-09-27 at 09:43 +0330, ali hagigat wrote:
> 4.4.5 Directory Search and Implicit Rules
> ...If ‘foo.c’ exists (or is mentioned in the makefile)....
> --------------------------------------------------------------------
> How foo.c is mentioned in the makefile? I wonder if any one can give an 
> example.

One way:

        foo.o: foo.c

Another way:

    foo.c:

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

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