help-make
[Top][All Lists]
Advanced

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

Re: using "include" in a Makefile


From: Paul D. Smith
Subject: Re: using "include" in a Makefile
Date: Mon, 9 Jun 2003 17:27:05 -0400

%% "VSong" <address@hidden> writes:

  v> Doesn't 'include' just change directory and run 'make'?

No, definitely not.  It works just like #include in C, etc.: the
contents of the included makefile are "inserted" at that point during
the read of the including makefile.

No directory change takes place, no new version of make is invoked.

If you want to do that you'll have to write a rule to do it.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "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]