makefile adapted for cpp files