From f8178fae98ed175e19ead9558b301d276f1d8d4f Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Thu, 24 Jul 2014 22:40:02 +0200 Subject: [PATCH] Add 'callgrind' target. - Reactivate SIMD. --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)