2 ms·
Real world makefiles are not simple like this. The simplest makefile I can think of is still hundreds of lines long: https://git.musl-libc.org/cgit/musl/tree/M
by matheusmoreira 9y ago
Real world makefiles are not simple like this. The simplest makefile I can think of is still hundreds of lines long:
https://git.musl-libc.org/cgit/musl/tree/Makefile https://git.musl-libc.org/cgit/musl/tree/Makefile
- creatornator 9y agoMaybe this isn't "real-world" but I've made this cookiecutter template which generates projects with Makefiles less than 100 lines. It works decently well for my personal projects and for playing around. https://github.com/MatanSilver/cookiecutter-cproj https://github.com/MatanSilver/cookiecutter-cproj