diff --git a/Makefile b/Makefile index 6ea7fca..3e0841d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ CXX = clang++ CXXFLAGS = -std=c++11 -W -Wall -O3 -ffast-math -g -Werror LFLAGS = -flto -DEFINES = #-DSIMD +DEFINES = -DSIMD BUILD_DIR = /tmp SRC = rotation.cpp \ image.cpp \ @@ -33,3 +33,6 @@ debug: all cachegrind: all valgrind --tool=cachegrind --dsymutil=yes $(BUILD_DIR)/rotation $(IMG) + +callgrind: all + valgrind --tool=callgrind --dsymutil=yes $(BUILD_DIR)/rotation $(IMG)