CPP_FLAGS= -fopenmp -O3 -lc -lm LIBS= -larmadillo -lopenblas test_mat2: test_mat2.cpp g++ -std=c++11 $(CPP_FLAGS) -o $@ $< $(LIBS) clean: rm test_mat2