using premake to generate makefile
changing resources directory according to new makefile
oject file are in obj directory
added extra warning in makefile