* Makefile.in (mostlyclean, realclean): New targets.
authorIan Lance Taylor <ian@airs.com>
Tue, 7 Jun 1994 17:37:52 +0000 (17:37 +0000)
committerIan Lance Taylor <ian@airs.com>
Tue, 7 Jun 1994 17:37:52 +0000 (17:37 +0000)
* doc/Makefile.in, testsuite/Makefile.in: Likewise.

gas/ChangeLog
gas/Makefile.in
gas/testsuite/Makefile.in

index a064943090feee2cc2428e87a17b2c343f75b554..4cc10f54c1ffde544da7688fd3db5be4b4aefe18 100644 (file)
@@ -1,3 +1,8 @@
+Tue Jun  7 13:33:18 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * Makefile.in (mostlyclean, realclean): New targets.
+       * doc/Makefile.in, testsuite/Makefile.in: Likewise.
+
 Mon Jun  6 13:10:54 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * config/tc-mips.c (RDATA_SECTION_NAME): Define.
index 84b0c0bafe91568ac8d4595ac07f941b995fe86a..c9e4d8d09147e5c0ef327308106d913139c05f3b 100644 (file)
@@ -19,7 +19,7 @@
 
 # The targets for external use include:
 # all, doc, proto, install, uninstall, includes, TAGS,
-# clean, cleanconfig, realclean, stage1, stage2, stage3, stage4.
+# clean, mostlyclean, distclean, realclean, stage1, stage2, stage3, stage4.
 
 # Variables that exist for you to override.
 # See below for how to change them for certain systems.
@@ -430,17 +430,17 @@ $(srcdir)/as.info: $(srcdir)/doc/as.texinfo
 clean-here:
        -rm -f $(STAGESTUFF) core
 
-clean: clean-here
-       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) clean
+clean mostlyclean: clean-here
+       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
        @if [ -d testsuite ] ; then \
-         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) clean ; \
+         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
        else true; fi
 
 # Like clean but also delete the links made to configure gas.
-distclean: clean-here
-       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) distclean
+distclean realclean: clean-here
+       @cd doc ; $(MAKE) $(FLAGS_TO_PASS) $@
        @if [ -d testsuite ] ; then \
-         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) distclean ; \
+         cd testsuite ; $(MAKE) $(FLAGS_TO_PASS) $@ ; \
        else true; fi
        -rm -f config.status Makefile host.h targ-env.h targ-cpu.h \
                targ-cpu.c obj-format.h obj-format.c atof-targ.c TAGS \
@@ -534,7 +534,8 @@ de-stage3: force
        - rmdir stage3
 
 #In GNU Make, ignore whether `stage*' exists.
-.PHONY: stage1 stage2 stage3 stage4 clean realclean TAGS bootstrap
+.PHONY: stage1 stage2 stage3 stage4 clean mostlyclean realclean distclean
+.PHONY: TAGS bootstrap
 
 force:
 
index aa774be70078e9d0aa9f387573753424731cd807..80bdf09ec1b7f1a3384641b8bd8610eb6b8160d7 100644 (file)
@@ -134,10 +134,10 @@ check:  site.exp
 
 force:
 
-clean:
+clean mostlyclean:
        -rm -f *~ core *.o a.out xgdb *.x a.out b.out
 
-distclean: clean
+distclean realclean: clean
        -rm -f *~ core
        -rm -f Makefile config.status
        -rm -fr *.log summary detail
This page took 0.037147 seconds and 4 git commands to generate.