Add 'callgrind' target.

- Reactivate SIMD.
This commit is contained in:
Fabien Freling 2014-07-24 22:40:02 +02:00
parent c704c14526
commit f8178fae98

View file

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