Add another functionality and adding themes and libraries to generated makefile

Hi there,
I worked on this functionality because I really liked your idea.