Makefile: added support to generate binary and documents within gens directory. Heapcheck is pending.