New makefile with dynamic folder searching and naming scope