Makefile.in (cplus-dem.o): Provide explicit rules for building cplus-dem.o
authorJeffrey A Law <law@cygnus.com>
Tue, 18 Aug 1998 10:26:35 +0000 (10:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 18 Aug 1998 10:26:35 +0000 (04:26 -0600)
        * Makefile.in (cplus-dem.o): Provide explicit rules for building
        cplus-dem.o

From-SVN: r21823

gcc/ChangeLog
gcc/Makefile.in

index 624be89d052d76fad3b24488e3b64e710d26a9ac..bb093a5bf680aa1cb833cd201dc85b5bbed8798a 100644 (file)
@@ -1,5 +1,8 @@
 Tue Aug 18 10:33:30 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * Makefile.in (cplus-dem.o): Provide explicit rules for building
+       cplus-dem.o
+
        * regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
        and REG_LIVE_LENGTH as successful substitutions are made.
 
index 776a050447095ab0b40e95b3e536ae67f75c00ff..07152934d2d590537c4cb070a542e68f6e103d41 100644 (file)
@@ -1300,7 +1300,11 @@ collect2.o : collect2.c $(CONFIG_H) system.h gansidecl.h gstab.h obstack.h \
 
 tlink.o: tlink.c $(DEMANGLE_H) hash.h $(CONFIG_H) system.h toplev.h
 hash.o: hash.c hash.h system.h toplev.h
+
 cplus-dem.o: $(srcdir)/../libiberty/cplus-dem.c $(DEMANGLE_H)
+       rm -f cplus-dem.c
+       $(LN_S) $(srcdir)/../libiberty/cplus-dem.c cplus-dem.c
+       $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) cplus-dem.c
 
 underscore.c: s-under ; @true