github.com/zyedidia/knit@v1.1.2-0.20230901152954-f7d4e39a0e24/examples/c_sub_build/README.md (about) 1 Run `knit` to build a project using `libfoo/libfoo.a` and 2 `libfoo/libbar/libbar.a` as dependencies that are built using sub-builds. 3 4 Run `knit clean` to remove generated files. 5 6 You can also run `knit libfoo.a` from `libfoo/` and `knit libbar.a` from 7 `libfoo/libbar` (or `knit libbar/libbar.a` from `libfoo`). 8 9 Run `knit clean -r` to run the `clean` target from the root, even if you are 10 located in a sub-directory. 11 12 <img alt="build graph" src="./graph.svg" width="500px"/>