I'm building an example (let's called it "app") for RIOT with the
following structure:
app/*.c
app/include/*.h
app/thingA/*.c
app/thingA/include*.h
app/thingB/*.c
app/thingB/include*.h
How to add the required path in the Makefile? Should I add
Makefile.base in each folder or is there another way to do it with
RIOT Makefile ? I couldn't find any example of this structure.
We need to use USEMODULE macro in Makefile, else in case
app/.c is making reference to functions defined in app/thingA/.c, it will give undefined reference error.
Thanks Thomas and Rakendra. I didn't try it but it will work as good
as Attilio solution expect from the fact that it will use only one
module APPLICATION.