Update makefile to allow for dynamic object-based compiling