2 ms·
Here is the fundamental problem it solves for me: my code in 99% pure C code without dependencies. Then i have a few wrappers for platform specific stuff. I hav
by quelsolaar 3y ago
Here is the fundamental problem it solves for me: my code in 99% pure C code without dependencies. Then i have a few wrappers for platform specific stuff. I have many many projects that use the same wrappers. Make files store both what files are used and what dependencies there are, but that creates a lot of duplication. Its better if the wrappers themselves can say what dependencies they have. Then thats stored in one place, and a change affects all projects. Then we have the issue of what files are needed. That information already exists in the .c files, so again why duplicate it? Its better to parse it out.