SUBDIRS = SAX Utils if WANT_DOM SUBDIRS += DOM endif if WANT_XPATH SUBDIRS += XPath XSLT endif install: echo "Nothing to install here" test: @for p in $(SUBDIRS); do \ cd $$p && make test; \ cd ..; \ done