From: Jim Kingdon Date: Sun, 13 Jun 1993 20:11:10 +0000 (+0000) Subject: * Makefile.in: Add distclean, realclean, and mostlyclean targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=68dd30141d596b29bb8d9666fb2b58d1bb89d733;p=binutils-gdb.git * Makefile.in: Add distclean, realclean, and mostlyclean targets. --- diff --git a/sim/Makefile.in b/sim/Makefile.in index 588e31e70cf..8bd469a33ed 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -90,22 +90,24 @@ STAGESTUFF = $(TARGETLIB) $(OFILES) all: $(ALL) clean: $(CLEAN) - rm -f endian e.h endian.h install: $(DO_INSTALL) +mostlyclean: clean + +distclean realclean: clean + rm -f Makefile config.status + info: install-info: dvi: -### build endian.h via a temporary so that interrupted builds will not -### leave an incomplete endian.h lying around. -endian.h: endian - ./endian > e.h - mv -f e.h endian.h +### +### -endian: $(srcdir)/endian.c - $(CC) $(CFLAGS) -o endian $(srcdir)/endian.c +.PHONY: check installcheck +check: +installcheck: ### none @@ -118,7 +120,7 @@ install-nothing: force ### z8k -all-z8k: endian.h force +all-z8k: force if [ -f ./z8k/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \ @@ -145,7 +147,7 @@ clean-z8k: force ### h8300 -all-h8300: endian.h force +all-h8300: force if [ -f ./h8300/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \ @@ -201,7 +203,7 @@ clean-h8500: force ### sh -all-sh: endian.h force +all-sh: force if [ -f ./sh/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) all) ; \