Commit b7677189 by Richard Stallman

(mostlyclean): Clean objc subdir only if it exists.

From-SVN: r2565
parent fb577946
...@@ -1266,9 +1266,11 @@ $(srcdir)/INSTALL: install1.texi install.texi ...@@ -1266,9 +1266,11 @@ $(srcdir)/INSTALL: install1.texi install.texi
mostlyclean: mostlyclean:
-rm -f $(STAGESTUFF) -rm -f $(STAGESTUFF)
# Clean the objc subdir. # Clean the objc subdir if we created one.
if [ -d objc ]; then \
srcdir1=`cd $(srcdir); pwd`; \ srcdir1=`cd $(srcdir); pwd`; \
cd objc; $(MAKE) -f $$srcdir1/objc/Makefile mostlyclean cd objc; $(MAKE) -f $$srcdir1/objc/Makefile mostlyclean \
else true; fi
-rm -f libobjc.a -rm -f libobjc.a
# Delete the temporary source copies for cross compilation. # 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)rtl.c $(HOST_PREFIX_1)rtlanal.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment