totally fixed makefile building from scratch (creates directories and stuff)