Follow-up Comment #12, bug #27609 (project make):

It's hard to diagnose problems based on general descriptions.  Please provide
specific examples of what you did and what the result was.

However, it's definitely true that if you're relying on some of the built-in
rules then turning them all off with .SUFFIXES: will break that.

Please see the GNU make manual section on suffix rules.  First, when defining
suffixes you add them one suffix at a time, not as a group (use ".o" and ".c",
not ".o.c", for example).  Second, suffixes as .SUFFIXES: prerequisites only
_adds_ to the existing suffix list, it doesn't _replace_ the existing suffix
list.

If you're trying to keep only some of the rules then first you have to turn
them all off, then add back just the ones you want:


.SUFFIXES:
.SUFFIXES: .c .o




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27609>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to