- make run - make cachegrind
@ -6,4 +6,10 @@ all: rotation.cpp
$(CXX) $(CXXFLAGS) $< -o $(BUILD_DIR)/rotation
clean:
@rm -f *~ *.o .*.swp
@rm -f *~ *.o .*.swp *.ppm
run: all
$(BUILD_DIR)/rotation img/lena.ppm
cachegrind: all
valgrind --tool=cachegrind $(BUILD_DIR)/rotation img/lena.ppm