public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Makefile.in patch
@ 1998-05-05 16:32 Jason Merrill
  1998-05-06 11:49 ` Jim Wilson
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Merrill @ 1998-05-05 16:32 UTC (permalink / raw)
  To: wilson, egcs; +Cc: jason

The current .SUFFIXES rule gets it backwards.  .SUFFIXES is the set of
suffixes you *do* want to consider for implicit rules.  Without this patch,
gmake -r ignores the .c.o rule.

Tue May  5 01:28:12 1998  Jason Merrill  <jason@yorick.cygnus.com>

	* Makefile.in: Fix .SUFFIXES.

Index: Makefile.in
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/Makefile.in,v
retrieving revision 1.90
diff -c -p -r1.90 Makefile.in
*** Makefile.in	1998/04/27 22:27:25	1.90
--- Makefile.in	1998/05/05 18:59:07
*************** RECOG_H = recog.h gansidecl.h
*** 701,708 ****
  
  # End of language makefile fragments.
  #\f
! # Avoid a lot of time thinking about remaking Makefile.in and *.def.
! .SUFFIXES: .in .def
  
  Makefile: $(srcdir)/Makefile.in config.status $(srcdir)/version.c \
     $(xmake_file) $(tmake_file) $(LANG_MAKEFILES)
--- 701,710 ----
  
  # End of language makefile fragments.
  #\f
! # The only suffixes we want for implicit rules are .c and .o, so clear
! # the list and add them.  This speeds up GNU Make, and allows -r to work.
! .SUFFIXES:
! .SUFFIXES: .c .o
  
  Makefile: $(srcdir)/Makefile.in config.status $(srcdir)/version.c \
     $(xmake_file) $(tmake_file) $(LANG_MAKEFILES)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Makefile.in patch
  1998-05-05 16:32 Makefile.in patch Jason Merrill
@ 1998-05-06 11:49 ` Jim Wilson
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 1998-05-06 11:49 UTC (permalink / raw)
  To: Jason Merrill; +Cc: egcs

	* Makefile.in: Fix .SUFFIXES.

This is OK.

Jim

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-05-06 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-05-05 16:32 Makefile.in patch Jason Merrill
1998-05-06 11:49 ` Jim Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).