* Makefile.in: Add distclean, realclean, and mostlyclean targets.
authorJim Kingdon <jkingdon@engr.sgi.com>
Sun, 13 Jun 1993 20:11:10 +0000 (20:11 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sun, 13 Jun 1993 20:11:10 +0000 (20:11 +0000)
sim/Makefile.in

index 588e31e70cf04c48c58be9e5abf0ad7d0ad3273c..8bd469a33eddd8877e9f7ce2b2fdc5f9bfc28f57 100644 (file)
@@ -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) ; \