> You can turn off implicit rules by running GNU make with the -r flag...for
> example:
> 
> $ make -r all

A good suggestion.  I tried this.  Apparently, it seems to not
only disable the built-in implicit rules, but also the implicit
rules defined in the Makefile itself via a pattern rule, so
since I had:

%.ui.h: %.ui
cmds...

this rule is now missing and it still fails.  It does, however,
prevent it from getting the circular dependency.

As for suffixes, I'm not sure I really want to play with them.
I'm actually designing a Makefile/build system that I want to
work for just about anything--one of my design goals is to
rely on as many of make's built-in rules as possible.

> 
> <GUESSWORK>
> 
> I *think* you can also turn off the implicit rules by doing this in your
> makefile:
> 
> # turn off magic make rules
> .SUFFIXES:
> 
> ...although I seem to remember this being slower than using -r because
> GNU make still looks for implicit rules for every target (even though you
> have
> removed them all).  Anyone know the story?
> 
> </GUESSWORK>
> 
> Of course, now you'll have to explicitly specify any implicit rules you
> were
> using.
> 
> Hope this helps.
> 
>      chad loder
>      principal engineer
>      rapid 7, inc.
> 


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

Reply via email to