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