refactor Makefile to decouple from filenames