I need to compile a file from a different directory than my project dir. How do I do it? Do I add to file to OBJS, and the path to VPATH?
No. That didn’t work. I’m stumped.
Hello, you can use the following command:
RIOTBASE=<path to RIOT's source directory> make all -C <path to your app's source dir>
RIOTBASE=/home/user/RIOT make all -C /home/user/my-riot-app