move generated Makefile under build/
extracting linear gesture from the examples