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 <[EMAIL PROTECTED]>          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

_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make

Reply via email to