fixed makefile
some quick improvements