# Makefile

# list of dirs where make should run
SUBDIRS = OS tree dir treesh

all clean: 
	-@if [ -f master.mk ] ;\
	then \
	    for i in $(SUBDIRS); do (cd $$i; echo "cd `pwd`"; $(MAKE) $@); done ;\
	else \
	    echo "Please run ./configure before make." ;\
	fi


distclean dist-clean: clean 
	rm -f master.mk *% *~ core

