Hey, On 11/06/15 03:17, Rick Rogers wrote: > I am trying to compile an application with source files in multiple > subdirectories. What is the best way to do this within the RIOT build > system? I added "DIRS += ./<subdir>" to the application makefile, which > results in compilation of subdirectory source files, but they are still > not getting linked in.
If you add the subdirectories using DIRS, they will be compiled as "modules" and would have to be linked in using "USEMODULE += <subdir>". It might be simpler to include the files in your application's module using "SRC += <subdir>/*.c". Kaspar _______________________________________________ users mailing list [email protected] https://lists.riot-os.org/mailman/listinfo/users
