help-make
[Top][All Lists]
Advanced

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

question about the make manual


From: ali hagigat
Subject: question about the make manual
Date: Wed, 18 Aug 2010 11:45:12 +0430

4.4.5 Directory Search and Implicit Rules
For example, when a file ‘foo.o’ has no explicit rule, make considers
implicit rules, such
as the built-in rule to compile ‘foo.c’ if that file exists. If such a
file is lacking in the current
directory, the appropriate directories are searched for it. If ‘foo.c’
exists (or is mentioned
in the makefile) in any of the directories, the implicit rule for C
compilation is applied.
---------------------------------------------------------------------------------------------------------------------------------
If ‘foo.c’ exists (or is mentioned in the makefile) in any of the directories....

I copied an extract of the manual in the above.
How foo.c is metioned in the makefile?!! Could you please write an example?



reply via email to

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