Decompose complex lines.

Create a bunch of const variables to better profile.
This commit is contained in:
Fabien Freling 2014-07-27 22:40:03 +02:00
parent 4dba86c9f0
commit da4bdf7702
4 changed files with 23 additions and 13 deletions

View file

@ -1,9 +1,8 @@
include Makefile.rules
CXXFLAGS = -std=c++11 -W -Wall -O3 -ffast-math -g $(CXXFLAGS_PLAFORM)
LFLAGS = #-flto
DEFINES = #-DSIMD
BUILD_DIR = /tmp
BUILD_DIR = .
SRC = rotation.cpp \
image.cpp \
pnm.cpp
@ -19,7 +18,7 @@ all: $(OBJS)
$(CXX) $(CXXFLAGS) $(DEFINES) $< -c -o $@
clean:
@rm -f *~ *.o .*.swp *.ppm *.pgm *.pnm cachegrind.out.*
@rm -f rotation *~ *.o .*.swp *.ppm *.pgm *.pnm cachegrind.out.* callgrind.out.*
run: all
$(BUILD_DIR)/rotation $(IMG)