Moved the makefile to be generic to all modules