# gnumake.iah-chp      Chapter level include file for GNUmakefiles
#      Copyright 1994, Center for Computer Vision and Visualization,
#      University of Florida.  All rights reserved.
#
# gnumake template for iah-src's chapters.
#   It contains definitions for standard targets.



#######################################################################
# Housekeeping targets
#######################################################################

all::
	for subdir in ${DIRS} ; \
	do  (cd $${subdir}; ${MAKE}); done

clean::
	/bin/rm -f *~; \
	for subdir in ${DIRS} ; \
	do  (cd $${subdir}; ${MAKE} clean); done

spotless:: clean
	for subdir in ${DIRS} ; \
	do  (cd $${subdir}; ${MAKE} spotless); done

tidy::
	/bin/rm -f *~

co-gnu:
	for subdir in ${DIRS} ; \
	do  (cd $${subdir}; \
		if [ ! -w GNUmakefile ] ; then co GNUmakefile; fi); done
