use g++ in makefiles