help-make
[Top][All Lists]
Advanced

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

Re: how to delete suffix rules while retaining pattern rules?


From: Paul D. Smith
Subject: Re: how to delete suffix rules while retaining pattern rules?
Date: Mon, 20 Feb 2006 21:13:10 -0500

%% "Robert P. J. Day" <address@hidden> writes:

  rpjd> is there a way to invoke make so that the implicit *suffix*
  rpjd> rules are deleted, while the implicit *pattern* rules are
  rpjd> retained?  ("make -r" deletes both types, which is not what i'm
  rpjd> after.)

Suffix rules can be removed by adding ".SUFFIXES:" with no prerequisites
to your makefile.

Look up that special target in the manual.

Cheers!

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