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