Wrote custom Makefile and removed nbproject