Real world makefiles are not simple like this. The simplest makefile I can think of is still hundreds of lines long:
back
1 comments
Maybe 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