Source

optiCall / opticall / Makefile

Full commit
opticall: opticall.o filtering.o kmpp/KMeans.o kmpp/KmTree.o kmpp/KmUtils.o 
	g++ -m64 -o opticall opticall.o filtering.o kmpp/KMeans.o kmpp/KmTree.o kmpp/KmUtils.o -O3
	rm *.o
	rm kmpp/*.o

opticall.o: opticall.cpp inclusions.h filtering.h
	g++ -m64 -I libs -I libs/eigen -c opticall.cpp -O3


filtering.o: filtering.cpp inclusions.h
	g++ -m64 -I libs -I libs/eigen -c filtering.cpp -O3


kmpp/KMeans.o: kmpp/KMeans.cpp kmpp/KMeans.h kmpp/KmTree.h
	g++ -m64 -c kmpp/KMeans.cpp -o kmpp/KMeans.o -O3

kmpp/KmTree.o: kmpp/KmTree.cpp 
	g++ -m64 -c kmpp/KmTree.cpp -o kmpp/KmTree.o -O3

kmpp/KmUtils.o: kmpp/KmUtils.cpp 
	g++ -m64 -c kmpp/KmUtils.cpp -o kmpp/KmUtils.o -O3
	
	
testfile.cpp: kmpp/KMeans.h

kmpp/KMeans.cpp: kmpp/KMeans.h kmpp/KmTree.h

kmpp/KmTree.cpp: kmpp/KmTree.h

kmpp/KmUtils.cpp: kmpp/KmUtils.h