1.ifdef SYMON_ONLY 2SUBDIR= lib symon 3.else 4SUBDIR= lib symon symux client 5.endif 6 7.include "Makefile.inc" 8 9all: _SUBDIRUSE 10clean: _SUBDIRUSE 11install: _SUBDIRUSE 12 13_SUBDIRUSE: .USE 14.if defined(SUBDIR) 15 @for entry in ${SUBDIR}; do \ 16 echo "===> $${entry}"; \ 17 cd ${.CURDIR}/$${entry}; \ 18 ${MAKE} ${.MAKEFLAGS} ${.TARGET}; \ 19 done 20.endif 21