Updated Makefile for some C++ programs