SUBDIRS = test1-static test2-dynamic test3-twomodules test4-interdep test5-execsymbols test6-ltdlopen all: for i in $(SUBDIRS); do (echo Entering $$i; cd $$i; make all; echo Leaving $$i;); done test: all for i in $(SUBDIRS); do (echo Entering $$i; cd $$i; make test; echo Leaving $$i;); done clean: for i in $(SUBDIRS); do (echo Entering $$i; cd $$i; make clean; echo Leaving $$i;); done dist-clean: clean rm -rf Makefile */Makefile config.h config.log config.status libtool