Baptist, Did you try the following?
app/Makefile: ``` ... DIRS += thingA thingB INCLUDES += -I$(CURDIR)/include -I$(CURDIR)/thingA -I$(CURDIR)/thingB ... ``` app/thingA/Makefile, app/thingB/Makefile ``` module = $(APPLICATION) include $(RIOTBASE)/Makefile.base ``` This way all code in `app` should form one module. Let me know if this helps. Best, Thomas On 14 Oct 2015, at 9:05 CEST(+0200), Baptiste Clenet wrote: > Anyone? @OlegHahm , @daniel-k ? > > 2015-10-09 16:50 GMT+02:00 Baptiste Clenet <bapcle...@gmail.com>: >> Hi all, >> >> 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. >> >> Cheers, >> >> >> -- >> Baptiste > > > > -- > Baptiste > _______________________________________________ > devel mailing list > devel@riot-os.org > https://lists.riot-os.org/mailman/listinfo/devel _______________________________________________ devel mailing list devel@riot-os.org https://lists.riot-os.org/mailman/listinfo/devel