rewrited everything with Makefile