New Makefile logic, make them reusable
Merge pull request #68 from Waldteufel/makefiles3

New Makefile logic, make them reusable