refactored makefile´s