


SUBDIRS=\
	CTEXT \
	ICCCM \
	Imakefile \
	Protocol \
	Registory \
	XDMCP \
	XLFD \
	Xaw \
	Xlib \
	Xmu \
	Xt \
	extensions \
	tutorials \
	xterm

all:
	@for i in $(SUBDIRS);\
	do\
		if [ -f $$i/Makefile ]; then\
			echo "(cd $$i;	make all)";\
			(cd $$i; make all);\
		fi;\
	done

clean:
	@for i in $(SUBDIRS);\
	do\
		if [ -f $$i/Makefile ]; then\
			echo "(cd $$i;	make clean)";\
			(cd $$i; make clean);\
		fi;\
	done
