Split the makefile between the common part and the per project part.
Added a big part of 2nd lab.