Ok managed to convert the simple ‘C’ to C++. Renamed my file have extension .cpp (.mk allows .c and .cpp as standard). The step I was missing was to clean the project so it remade the make part of the project. Now build compiles and can use classes etc.