Adding files to openFrameworks project with the command line (Raspberry Pi)

I’m trying to add a class to my openFrameworks project through the command line. (I’m working on a Raspberry Pi).

As there is no project generator for Raspberry Pi, I copied an existing project that could be compiled and then replaced the files in src with the code I wanted to use including my .cpp and .h for my class.

I guess I may need to do something with the .o files or the Makefile for it to compile as the Makefile has no rule to compile the additional files.

It all worked after I started it from scratch. Obviously made a mistake somewhere and I guess you don’t do anything special as all the include stuff allows it to compile.