I am working on a comprehensive long-term C programming project that will require a modular programming approach. As part of the design, libraries will be created, so I wanted to confirm a true/false interpretation of header file organization:
Problem
Suppose that you are creating a library. After thinking it over, you have decided that the ultimate library you wish to conceive, aka "godzilla", should consist of two individual C files that bind to a header file. In this header file there will exist the function declarations; for example:
// offense.c
void attack_city(uint32_t force); // (in Newtons) - capable of a LOT of force!
...
// measure.c
void measure_effect(void);
...
Here is a basic network diagram you drew:

Because both force.c and measure.c includes godzilla.h, everything will be referenced from this header file and included in the compilation process, correct?
EDIT
Application: ARM microprocessor
How would this change?It would depend on the IDE you use :)