CPP = g++
CPPFLAGS = -O3 -Wall -ansi
SOURCES = DataSet.cpp FeatureNode.cpp Group.cpp main.cpp SamplingUtils.cpp Tree.cpp utils.cpp
LIBS = -lm -lgsl -lgslcblas # Treebic requires the GSL library.

treebic: $(SOURCES)
	$(CPP) $(CPPFLAGS) $(SOURCES) $(LIBS) -o treebic

.PHONY: clean
clean:
	rm -f *.o *~ \#* treebic