all: bench-GridCut bench-BK301

bench-GridCut: bench-GridCut.cpp dataset.h mfi.cpp mfi.h timer.cpp timer.h
	g++ -I./code/GridCut/include -DNDEBUG -O3 -march=native -mtune=generic -o bench-GridCut bench-GridCut.cpp mfi.cpp timer.cpp

bench-BK301: bench-BK301.cpp dataset.h mfi.cpp mfi.h timer.cpp timer.h
	g++ -I./code/BK301 -DNDEBUG -O3 -march=native -mtune=generic -o bench-BK301 bench-BK301.cpp mfi.cpp timer.cpp ./code/BK301/graph.cpp ./code/BK301/maxflow.cpp

clean:
	rm -f bench-GridCut bench-BK301

