This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Makefile bug


The rule for genrtl.[ch] needs to have a dummy command, otherwise GNU make
won't recheck the modification time of the targets after remaking
stamp-genrtl and won't notice when they change.


1998-01-17  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.

--- egcs-980115/gcc/Makefile.in.~2~	Fri Jan 16 20:12:47 1998
+++ egcs-980115/gcc/Makefile.in	Sat Jan 17 09:08:32 1998
@@ -1588,6 +1588,7 @@
 
 genrtl.o : genrtl.c $(CONFIG_H) $(RTL_H)
 genrtl.c genrtl.h : stamp-genrtl
+	@:
 stamp-genrtl: gengenrtl $(srcdir)/move-if-change $(RTL_BASE_H)
 	./gengenrtl tmp-genrtl.h tmp-genrtl.c
 	$(srcdir)/move-if-change tmp-genrtl.h genrtl.h

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]