(stmp-multilib): Check recursive make's return code.
authorDoug Evans <dje@gnu.org>
Mon, 19 Dec 1994 22:49:45 +0000 (22:49 +0000)
committerDoug Evans <dje@gnu.org>
Mon, 19 Dec 1994 22:49:45 +0000 (22:49 +0000)
(.PHONY): Tell GNU make the various LANGUAGES are phony targets.

From-SVN: r8669

gcc/Makefile.in

index 9ef17dd9dfe709520fd2d4d8adb79dc19399d7aa..d3d24e31bd0decaba92a240ff04ed80783edca7e 100644 (file)
@@ -596,6 +596,9 @@ OBJC objc: cc1obj objc-runtime
 OBJECTIVE-C objective-c: cc1obj objc-runtime
 PROTO: proto
 
+# Tell GNU make these are phony targets.
+.PHONY: C c OBJC objc OBJECTIVE-C objective-c PROTO proto
+
 # Really, really stupid make features, such as SUN's KEEP_STATE, may force
 # a target to build even if it is up-to-date.  So we must verify that
 # config.status does not exist before failing.
@@ -882,6 +885,7 @@ stmp-multilib: $(LIBGCC1) libgcc2.c libgcc2.ready $(CONFIG_H) \
            LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS) $${flags}" \
            LIBGCC1="$(LIBGCC1)" LIBGCC2="$(LIBGCC2)" \
            dir="$${dir}" stmp-multilib-sub; \
+         if [ $$? -eq 0 ] ; then true; else exit 1; fi; \
        done
        touch stmp-multilib