Hi guys,

Sorry if this is wrong place but after two days of fighting I decided that asking here might be easier since no response was found via uncle Google :-/

I made two files (*.h *.cpp )  that provide me stepper motor library which I want to incorporate to my project which is using libopencm3.
Examples are based on simple single file source code.

What (where) changes need to be made so I can have "lib/include" folder where my *.cpp and *h will be located and compiled by "make".

Manual make works so my code is ok however I don't know where to modify libopencm3.rules.mk/ libopencm3.target.mk so they will look into lib/include folder for files to compilation.

Project structure is simple
./libopencm3
./include
./src/
./man.c
./Makefile

Regards,