3 ms·
I don’t understand why people bother with complex build systems for small C projects. Here is a C build system: cat all.c #include "foo.c" #includ
by cmovq 3y ago
I don’t understand why people bother with complex build systems for small C projects.
Here is a C build system:
cat all.c
#include "foo.c"
#include "bar.c"
#include "main.c"
clang all.c
- eschneider 3y ago#include "/dev/tty0" so you can add run-time defines.
- humanrebar 3y agoNow add an address sanitizer pass, reasonable unit tests, and wire it up to CI so you don't accidentally break things or trash memory.
- kerkeslager 3y agoSure, trivial problems only require trivial solutions. Obviously. But I don't want to solve trivial problems. That's not where the value is.