updated makefile to better handle multiple modules