made makefile more DRY