* Makefile.in: Add distclean, realclean, and mostlyclean targets.
This commit is contained in:
parent
b65a4fe520
commit
68dd30141d
|
@ -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) ; \
|
||||
|
|
Loading…
Reference in New Issue