Updated Makefile

Fixed makefile to include all sources and use a seperate directory for
object files.