made makefile a tad more automatic