Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
My source code mainline, all one stream of source, has grown like Topsey and it works.So I started to split into the approximate Class structure that the code represents.I have a C file and an H file for each module/class.I placed the list of source C files in the MK file.The C files include necessary H files as and where required, #pragma once, just in case.Eclipse then compiles each module OK (I did rebuild the MAKE TARGET declaration) but it does not resolve the links.It seemed to work on the first module split, but nothing further.I suppose I am doing something very dumb, but I need help please.What are the Rules?
Can it find the header files?You may need to add:$(NAME)_INCLUDES += .This will add the directory containing the .mk file to be added to the list of include directories when building that component. If multiple components need to access header files in that directory you need to add "." to the GLOBAL_INCLUDES like this:GLOBAL_INCLUDES += .If you are having problems of unknown functions or variables when it is linking then it looks like your C files are not being compiled as part of your project.