changed the variable $(CC) to $(CXX) to match convention.