help-make
[Top][All Lists]
Advanced

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

Re: var used by implicit rule


From: Paul D. Smith
Subject: Re: var used by implicit rule
Date: Thu, 17 Jun 2004 14:58:24 -0400

%% bertold <address@hidden> writes:

  b> I did rule for bison files, cause '-d' flag needed.  It is creates
  b> the header file also. Now, make deletes the C source file, but not
  b> the header.  Is there way to force make to do it?

Make will delete any file it considers to be an "intermediate file".
You can look up the term "intermediate" in the index of the GNU make
manual to learn about it.

You can force make to consider a target to be intermediate by making it
a prerequisite of the .INTERMEDIATE special target.

-- 
-------------------------------------------------------------------------------
 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]