rewritten Makefile to be independant from IDE