M3TARGET = SOLgnu LIBS = \ libm3texev NOTLIBS = \ \ libm3tevol PROGS = \ EvolutionDiagram \ MREvolver2D \ MakeTexture2D NOTPROGS = \ forster-multires2 \ ReDifEvolver2D \ ShowDirField \ TextureInvariants2D \ other-stuff TESTS = \ NONE # all: libprogs tests all: libprogs cleanup libprogs: ; \ for d in $(LIBS) $(PROGS); do \ ( here=`pwd` ; cd $$d/src && make -f $$here/Makefile build ; ) \ done cleanup: ; \ for d in $(NOTLIBS) $(NOTPROGS); do \ ( here=`pwd` ; cd $$d && rm -rf SOLgnu SPARC ; ) \ done tests: ;\ for d in $(TESTS); do \ ( cd $$d/tests && make -f Makefile M3TARGET=$(M3TARGET) all ; ) \ done build: ; \ m3build -d ..