aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-12-21 18:41:11 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-12-21 18:41:11 -0500
commitaa90345aad392cc58f7beedb24992c25ce6895e5 (patch)
tree722ebce56f5371bafc268e6b0b9819a436ee89f7 /gcc
parent87ac38094d4fa5a8e3be604b18153c714d654cd5 (diff)
downloadgcc-aa90345aad392cc58f7beedb24992c25ce6895e5.zip
gcc-aa90345aad392cc58f7beedb24992c25ce6895e5.tar.gz
gcc-aa90345aad392cc58f7beedb24992c25ce6895e5.tar.bz2
(MD_FILE rule): Depend on $(MD_DEPS). Invoke $(MD_CPP).
From-SVN: r6256
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in9
1 files changed, 4 insertions, 5 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 9622b2d..eced0a6 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -286,6 +286,7 @@ GCC_PARTS=$(GCC_PASSES) $(LIBGCC) $(EXTRA_PROGRAMS) $(USE_COLLECT2) $(EXTRA_PART
DIR = ../gcc
# Guaranteed to not exist when not passing md through cpp.
+# This value is overridden directly by configure.
MD_FILE = md-cpp-not-used
# Flags to use when cross-building GCC.
@@ -1181,11 +1182,9 @@ stamp-output : md genoutput $(srcdir)/move-if-change
# since that describes the host machine.
# Pass the md file through cpp if the target requests it.
-$(MD_FILE): $(CPP_MD)
- -if [ -f md.pre-cpp ]; then \
- rm -f md ; ./cpp $(CPP_MD_FLAGS) md.pre-cpp | sed 's/^# /; /g' > md ; \
- else true ; \
- fi
+$(MD_FILE): $(MD_DEPS)
+ rm -f $@
+ $(MD_CPP) $(MD_CPPFLAGS) md.pre-cpp | sed 's/^# /; /g' > $@
genconfig : genconfig.o $(HOST_RTL) $(HOST_LIBDEPS)
$(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o genconfig \