makefile now creates misc and smarty/compile dirs