made the make file a bit more thorough and compartmentalized. However, it still needs to be made generic. First time writing a makefile by hand