Decompose complex lines.
Create a bunch of const variables to better profile.
This commit is contained in:
parent
4dba86c9f0
commit
da4bdf7702
4 changed files with 23 additions and 13 deletions
5
Makefile
5
Makefile
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue