Basic C project template.
README.md

mylib #

Bootstrap once:

gcc nob.c -o nob

Then:

./nob          # build static + dynamic
./nob test     # run tests
./nob static   # build .build/libmylib.a
./nob dynamic  # build .build/libmylib.so

The nob binary will recompile itself automatically if nob.c changes.