MKCOMDEPEND(1)
π MKCOMDEPEND β mkcomdepend(1) π
okay so bestie, sit down, grab your strawberry matcha π because we're talking about mkcomdepend β the little manual page (section 1, one of the big ones, iykyk) that literally exists to make your Makefile not a whole mess. no cap.
β¨ NAME β¨
mkcomdepend β generate Makefile dependencies from scripts. that's it, that's the whole job, and she does it flawlessly. π
π¦ SYNOPSIS π¦
mkcomdepend build.sh
one script, in and out, main character energy only. π
πΈ DESCRIPTION πΈ
so the way this works is: mkcomdepend extracts dependencies from scripts. lowkey its whole personality is reading your script and telling the Makefile what's up. π
it takes all variables that start with INPUT, OUTPUT, and OUTDIR β yes, all of them, it's greedy like that and honestly we love her for it π β but here's the catch: they have to be enclosed in this little sandwich right here:
#BEGIN DEPEND
...
#END DEPEND
so like, the variables have to live between #BEGIN DEPEND and #END DEPEND. that's the vibe check. if they're not in there, she's not looking at them, periodt. π
also, mkcomdepend attempts to evaluate expressions enclosed in $(...). attempts!! she tries her best fr fr, that's literally the documented behaviour, don't come for her. π
π RESOURCES π
Homepage and issue tracker, aka where you go when you need to be nosy or file a bug πβ¨:
https://projects.ibt.lt/repositories/projects/mkdepend
π LICENSE π
mkcomdepend is released under the BSD-3-Clause license. iconic, legal, and free. slay. π«Ά
and that's the whole page bestie!! π§ this was MKCOMDEPEND(1), dated 04/27/2021 β yes that's the footer, we folded it in, you're welcome π go make some dependencies, you got this π β¨πΈ
π¦ where this page comes from
- debian bookworm: mkdepend 0.0~svn45-3 Β· BSD-3-Clause
- debian trixie: mkdepend 0.0~svn45-3 Β· BSD-3-Clause
- ubuntu jammy: mkdepend 0.0~svn45-3 Β· BSD-3-Clause
- ubuntu noble: mkdepend 0.0~svn45-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms