This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How do I link in files from the utils directory?



I want to use utils\ringbuf.c in my program. I would actually like to be able to use all of those files if I want. If I add "${SW_ROOT}/utils" to the search path the project will compile but it wont link. This makes sense I guess because its not building ringbuff.c so there is nothing to link in. If I manually add the file to the project all is well. Do I have to do this? I guess utils isn't a library like driverlib or grlib so I can't just add the directory to the search path and include the header file.


Did I just answer my own question or is there a better way to do this?