aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1993-06-17 21:34:11 +0000
committerDavid MacKenzie <djm@cygnus>1993-06-17 21:34:11 +0000
commit565c93e92a2fc21b0442757bff2e93701c80d639 (patch)
tree846ee05da759cd5969a7ca3cde63594b044b2222 /ld
parentf1907ff24b6c1c83df0e59ed7b31a0b22f256e7e (diff)
downloadgdb-565c93e92a2fc21b0442757bff2e93701c80d639.zip
gdb-565c93e92a2fc21b0442757bff2e93701c80d639.tar.gz
gdb-565c93e92a2fc21b0442757bff2e93701c80d639.tar.bz2
* Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
and .cc.o rule.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/Makefile.in7
2 files changed, 12 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1273444..079edc5 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jun 17 14:33:09 1993 David J. Mackenzie (djm@thepub.cygnus.com)
+
+ * Makefile.in (.cc.o): Restore .SUFFIXES entry for .cc
+ and .cc.o rule.
+
Wed Jun 16 11:45:32 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* ldfile.c (ldfile_open_command): Don't try .ld extension.
diff --git a/ld/Makefile.in b/ld/Makefile.in
index 0151f45..db9e978 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -106,6 +106,13 @@ C++ = g++ -fgnu-linker
LINTFLAGS = $(INCLUDES) $(EXTRA_DEF)
+# The .cc suffix is used by `make check'.
+
+.SUFFIXES: .y $(SUFFIXES) .cc
+
+.cc.o:
+ $(C++) -c -I$(srcdir) $(CFLAGS) $<
+
.c.o:
$(CC) -c $(INCLUDES) $(HDEFINES) $(TDEFINES) $(CDEFINES) $(CFLAGS) $<