+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.
# 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.
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 \
- 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: