(stamp-objlist): New target.
authorDoug Evans <dje@gnu.org>
Fri, 29 Apr 1994 05:01:27 +0000 (05:01 +0000)
committerDoug Evans <dje@gnu.org>
Fri, 29 Apr 1994 05:01:27 +0000 (05:01 +0000)
From-SVN: r7179

gcc/Makefile.in

index d030508f97b5bbd09928e61a17e2a088173f6b23..af9824aa06606c5b165b17352ad8a661527f0bd8 100644 (file)
@@ -605,6 +605,11 @@ cross-test.o: cross-test.c native gcc-cross
 # This is used only if the user explicitly asks for it.
 compilations: ${OBJS}
 
+# Create a list of the language-independent object files so the language
+# subdirectories needn't mention their names explicitly.
+stamp-objlist: Makefile
+       echo " $(OBJS) $(BC_OBJS)" | sed -e 's, \([a-z]\), ../\1,g' >stamp-objlist
+
 # We call this executable `xgcc' rather than `gcc'
 # to avoid confusion if the current directory is in the path
 # and CC is `gcc'.  It is renamed to `gcc' when it is installed.