[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: implicit prerequisites *.w
From: |
Paul D. Smith |
Subject: |
Re: implicit prerequisites *.w |
Date: |
Thu, 5 Apr 2001 17:55:43 -0400 |
Clearing .SUFFIXES only gets rid of the suffix rules, as you've
discovered. In addition to builtin suffix rules, GNU make has some
builtin pattern rules. .SUFFIXES doesn't apply to builtin pattern
rules.
Very unfortunately, there's no way to clear out the entire builtin
ruleset from within a makefile itself. This is an oft-requested
enhancement; unfortunately it's not completely trivial--not hard, but
not trivial.
If you use something like: "echo '.SUFFIXES:' | make -pf-" you can see
all the remaining rules that .SUFFIXES doesn't clean. Compare that to
"make -prf/dev/null" or something.
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://www.paulandlesley.org/gmake/
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist