(stamp-objlist): Handle first character of object file being a digit.

From-SVN: r13293
This commit is contained in:
Richard Kenner 1996-12-12 07:59:19 -05:00
parent ea55c5c6ee
commit aa56883497
1 changed files with 1 additions and 1 deletions

View File

@ -695,7 +695,7 @@ compilations: ${OBJS}
# Create a list of the language-independent object files so the language
# subdirectories needn't mention their names explicitly.
stamp-objlist: $(OBJS) $(BC_OBJS)
echo " $(OBJS) $(BC_OBJS)" | sed -e 's, \([a-z]\), ../\1,g' -e 's/\.o/$(objext)/g' >stamp-objlist
echo " $(OBJS) $(BC_OBJS)" | sed -e 's, \([a-z0-9]\), ../\1,g' -e 's/\.o/$(objext)/g' >stamp-objlist
# We call this executable `xgcc' rather than `gcc'
# to avoid confusion if the current directory is in the path