OSDN Git Service

* Make-lang.in (g77.o): Touch lang-f77 before checking it.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Aug 1998 00:18:56 +0000 (00:18 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Aug 1998 00:18:56 +0000 (00:18 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@21708 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/f/ChangeLog
gcc/f/Make-lang.in

index 4cae109..cd59437 100644 (file)
@@ -1,3 +1,7 @@
+Tue Aug 11 08:12:14 1998  H.J. Lu  (hjl@gnu.org)
+
+       * Make-lang.in (g77.o): Touch lang-f77 before checking it.
+
 1998-08-09  Dave Love  <d.love@dl.ac.uk>
 
        * Make-lang.in (f/g77.dvi): Replace non-working use of texi2dvi
index 7dd1fcf..4afec3e 100644 (file)
@@ -93,6 +93,10 @@ g77version.o: $(srcdir)/f/version.c
 # to track changes to the toplevel gcc Makefile as well.
 # We depend on g77.c last, to make it obvious where it came from.
 g77.o: $(CONFIG_H) multilib.h config.status $(lang_specs_files) g77.c
+       case "$(LANGUAGES)" in \
+         *[fF]77*) touch lang-f77;; \
+         *) rm -f lang-f77;; \
+       esac
        if [ -f lang-f77 ]; then \
          $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(DRIVER_DEFINES) \
           -DLANG_SPECIFIC_DRIVER -c g77.c; \