1TOP = ../../../.. 2include $(TOP)/configs/current 3 4 5SUBDIRS = xlib 6 7 8default: subdirs 9 10 11subdirs: 12 @for dir in $(SUBDIRS) ; do \ 13 if [ -d $$dir ] ; then \ 14 (cd $$dir && $(MAKE)) || exit 1 ; \ 15 fi \ 16 done 17 18 19clean: 20 rm -f `find . -name \*.[oa]` 21 rm -f `find . -name depend` 22 23 24# Dummy install target 25install: 26