Improve single-goal C++ makefile