I know from reading sample code that you can include an extra folder of files to compile in make like this:
Code: Select all
EXTRA_COMPONENT_DIRS += $(AZURE_PATH)
Since I have a lot of common files in one folder, I'd like to just include one of these files in my new project. How do I do that? I could probably get away with and writing a .h header with declarations in the .c file and try a relative path #include. The lazy way would be to include the whole common files folder and just have make compile everything