### TARGETS ###

.PHONY: classes native clean

classes: 
	(cd alignment; $(MAKE) classes)
	(cd distance; $(MAKE) classes)
	(cd eval; $(MAKE) classes)
	(cd gui; $(MAKE) classes)
	(cd io; $(MAKE) classes)
	(cd math; $(MAKE) classes)
	(cd mep; $(MAKE) classes)
	(cd misc; $(MAKE) classes)
	(cd popgen; $(MAKE) classes)
	(cd statistics; $(MAKE) classes)
	(cd substmodel; $(MAKE) classes)
	(cd tree; $(MAKE) classes)
	(cd datatype; $(MAKE) classes)
	(cd util; $(MAKE) classes)
	(cd coalescent; $(MAKE) classes)
	(cd xml; $(MAKE) classes)
        
native: 
	(cd alignment; $(MAKE) native)
	(cd distance; $(MAKE) native)
	(cd eval; $(MAKE) native)
	#(cd gui; $(MAKE) native)
	(cd io; $(MAKE) native)
	(cd math; $(MAKE) native)
	(cd mep; $(MAKE) native)
	(cd misc; $(MAKE) native)
	(cd popgen; $(MAKE) native)
	(cd statistics; $(MAKE) native)
	(cd substmodel; $(MAKE) native)
	(cd tree; $(MAKE) native)
	(cd datatype; $(MAKE) native)
	(cd util; $(MAKE) native)
	(cd coalescent; $(MAKE) native)
	(cd xml; $(MAKE) native)

clean:
	(cd alignment; $(MAKE) clean)
	(cd distance; $(MAKE) clean)
	(cd eval; $(MAKE) clean)
	(cd gui; $(MAKE) clean)
	(cd io; $(MAKE) clean)
	(cd math; $(MAKE) clean)
	(cd mep; $(MAKE) clean)
	(cd misc; $(MAKE) clean)
	(cd popgen; $(MAKE) clean)
	(cd statistics; $(MAKE) clean)
	(cd substmodel; $(MAKE) clean)
	(cd tree; $(MAKE) clean)
	(cd datatype; $(MAKE) clean)
	(cd util; $(MAKE) clean)
	(cd coalescent; $(MAKE) clean)
	(cd xml; $(MAKE) clean)
