added xrotation support and updated makefile