Quote:
Originally Posted by J65nko
I don't see those two header files listed as dependencies in your Makefile.
|
Header files are not typically specified in Makefiles for the reasons I mentioned earlier. Header files should only contain function prototypes, structure declarations, &
extern statements -- never executable code or variable definitions. Because Makefiles are concerned with compilation & linking, they typically only reference source code files.