DEPTH = ../..

DIRECTORIES =

include $(DEPTH)/Makefile.version
include $(DEPTH)/Makefile.os

.PHONY: all
all: $(DIRECTORIES)

.PHONY : $(DIRECTORIES)
$(DIRECTORIES) :
	$(MAKE) -C $@

ifeq ($(SHELLTYPE), sh)
.PHONY: clean
clean :
	-find . -name "*~" -exec rm \{\} \;
	-rm -f a2out.ps
	-rm -rf doxygen
	for d in *; do\
	  if ( test -d "$$d" && test -f "$$d"/Makefile ); then \
	    make -C "$$d" clean; \
	  fi; \
	done
endif
