049228b377
We don’t write into the memory right away, we first write to a temp buffer that we blit into the rotated image.
10 lines
188 B
Makefile
10 lines
188 B
Makefile
CXX = clang++
|
|
CXXFLAGS = -std=c++11 -W -Wall -O3 -ffast-math -Werror -g
|
|
BUILD_DIR=/tmp
|
|
|
|
all: rotation.cpp
|
|
$(CXX) $(CXXFLAGS) $< -o $(BUILD_DIR)/rotation
|
|
|
|
clean:
|
|
@rm -f *~ *.o .*.swp
|