changed Makefile so separate object files are made