Breaking down makefile rules a bit