(mostlyclean): Delete libobjc.a.
authorRichard Stallman <rms@gnu.org>
Mon, 19 Oct 1992 07:37:36 +0000 (07:37 +0000)
committerRichard Stallman <rms@gnu.org>
Mon, 19 Oct 1992 07:37:36 +0000 (07:37 +0000)
(libobjc.a): Create the objc subdir.

From-SVN: r2513

gcc/Makefile.in

index 6fe1b01c22daa06220f01311352045634cdb8ffd..dda4b468de42b2740ec706501fd7f7db2052b197 100644 (file)
@@ -664,8 +664,9 @@ libgcc.a: $(LIBGCC1) $(LIBGCC2)
 
 objc-runtime: libobjc.a
 
-# Build the Objective C runtime library.  Build the Objc compiler first!
+# Build the Objective C runtime library.
 libobjc.a: cc1obj libgcc2.ready
+       mkdir objc
        thisdir1=`pwd`; \
        srcdir1=`cd $(srcdir); pwd`; \
        cd objc; \
@@ -1268,6 +1269,7 @@ mostlyclean:
 # Clean the objc subdir.
        srcdir1=`cd $(srcdir); pwd`; \
        cd objc; $(MAKE) -f $$srcdir1/objc/Makefile mostlyclean
+       -rm -f libobjc.a
 # Delete the temporary source copies for cross compilation.
        -rm -f $(HOST_PREFIX_1)rtl.c $(HOST_PREFIX_1)rtlanal.c
        -rm -f $(HOST_PREFIX_1)alloca.c $(HOST_PREFIX_1)malloc.c