STAGESTUFF = $(TARGETLIB) $(OFILES)
-all: endian.h $(ALL)
+all: $(ALL)
clean: $(CLEAN)
rm -f endian e.h endian.h
info:
install-info:
+dvi:
### build endian.h via a temporary so that interrupted builds will not
### leave an incomplete endian.h lying around.
./endian > e.h
mv -f e.h endian.h
-endian: endian.c
+endian: $(srcdir)/endian.c
+ $(CC) $(CFLAGS) -o endian $(srcdir)/endian.c
### none
### z8k
-all-z8k: force
+all-z8k: endian.h force
if [ -f ./z8k/Makefile ] ; then \
rootme=`pwd` ; export rootme ; \
( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
### h8300
-all-h8300: force
+all-h8300: endian.h force
if [ -f ./h8300/Makefile ] ; then \
rootme=`pwd` ; export rootme ; \
( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
### h8500
-all-h8500: force
+all-h8500: endian.h force
if [ -f ./h8500/Makefile ] ; then \
rootme=`pwd` ; export rootme ; \
( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
### sh
-all-sh: force
+all-sh: endian.h force
if [ -f ./sh/Makefile ] ; then \
rootme=`pwd` ; export rootme ; \
( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) all) ; \