makefile, detection angle, rotation, main