updated makefile

added the compilation of the individual objects, needs to be tested