# Last edited on 2001-09-20 14:37:52 by stolfi # Current working set WORKSET = \ libm3pz \ PZDrawCandGrids \ PZDrawCands \ PZPlotMatchCost \ PZMapCands \ PZRefineCands \ PZCompCands # Libraries LIBS = \ libm3quickio \ libm3pz # Images and contours PKGA = \ PZSplit \ PZBoundary \ PZMapChain \ PZFilter \ PZSpectrum \ PZDraw \ PZDrawFiltering \ PZComputeVelAcc \ PZComputeCurvature \ PZCurvHistogram \ PZEncodeCurvature # Segments PKGB = \ PZUpdateSegs \ PZMapSegs \ PZDrawSegs \ PZGetStraightSegs \ PZCurvHistogram \ PZMatchImage # Candidates PKGC = \ PZUpdateCands \ PZConvertSyntheticCands \ PZGetRandomCands \ PZGetInitialCands \ PZMapCands \ PZDrawCands \ PZDrawCandGrids \ PZPrintCands \ PZDistSqrHistogram \ PZPlotMatchCost \ PZRefineCands \ PZRefineCandsGeometry \ PZCompCands # Test programs and other stuff PKGD = PACKAGES = \ $(LIBS) \ $(PKGC) \ $(PKGA) \ $(PKGB) NOTPACKAGES = \ $(PKGD) SUBDIRS = NOTSUBDIRS = .PHONY: all packages subdirs all: packages subdirs # all: workset workset: ; \ for d in $(WORKSET); do \ ( here=`pwd` ; cd $$d/src && make -f $$here/Makefile build ; ) \ done packages: ; \ for d in $(PACKAGES); do \ ( here=`pwd` ; cd $$d/src && make -f $$here/Makefile build ; ) \ done subdirs: ; \ for d in $(SUBDIRS); do \ ( cd $$d && make -f Makefile all ; ) \ done build: ; \ m3build -d ..