# This line is specific to Turbo C++ make. It says that make should
# swap itself out of memory when executing commands.
# The -S option in "make -S all" has the same meaning.
.SWAP

all:
	cd asl
	-make -S all
	cd ..
	cd basics
	-make -S all
	cd ..
	cd colwheel
	-make -S all
	cd ..
	cd compress
	-make -S all
	cd ..
	cd demonstr
	-make -S all
	cd ..
	cd grep
	-make -S all
	cd ..
	cd hanoi
	-make -S all
	cd ..
	cd kb
	-make -S all
	cd ..
	cd minicaml
	-make -S all
	cd ..
	cd minilogo
	-make -S all
	cd ..
	cd picomach
	-make -S all
	cd ..
	cd showsort
	-make -S all
	cd ..
	cd spirals
	-make -S all
	cd ..

clean:
	cd asl
	make clean
	cd ..
	cd basics
	make clean
	cd ..
	cd colwheel
	make clean
	cd ..
	cd compress
	make clean
	cd ..
	cd demonstr
	make clean
	cd ..
	cd grep
	make clean
	cd ..
	cd hanoi
	make clean
	cd ..
	cd kb
	make clean
	cd ..
	cd minicaml
	make clean
	cd ..
	cd minilogo
	make clean
	cd ..
	cd picomach
	make clean
	cd ..
	cd showsort
	make clean
	cd ..
	cd spirals
	make clean
	cd ..

depend:
	cd asl
	make depend
	cd ..
	cd basics
	make depend
	cd ..
	cd colwheel
	make depend
	cd ..
	cd compress
	make depend
	cd ..
	cd demonstr
	make depend
	cd ..
	cd grep
	make depend
	cd ..
	cd hanoi
	make depend
	cd ..
	cd kb
	make depend
	cd ..
	cd minicaml
	make depend
	cd ..
	cd minilogo
	make depend
	cd ..
	cd picomach
	make depend
	cd ..
	cd showsort
	make depend
	cd ..
	cd spirals
	make depend
	cd ..
