ML-MAKEDEPEND(1)
π ml-makedepend β NAME & vibe check
okay so bestie, this is ml-makedepend, and it's the makefile dependency generator for SML/NJ programs β¨ like that's literally its whole thing. it's from the SML/NJ manual (section 1, the good section), and it's here to make your build life so much easier.
β¨ SYNOPSIS β¨
ml-makedepend [OPTIONS] project.cm target
that's it. that's the whole invocation. project.cm is your CM project file, target is... the target. slay. π
π DESCRIPTION π
so ML-Makedepend is this tool that generates dependency information so that the Unix make(1) program can be used to build your SML/NJ programs π«Ά. that's it, that's the job β it does the "what depends on what" homework so make doesn't have to guess. iconic behaviour honestly π
π¦ OPTIONS π¦
okay here's the full menu, no skipping, every single one:
-f makefileβ tells it the name of the makefile where the dependency info gets appended. and if you don't pass this option, the output gets appended to the end of the filemakefile(orMakefile). β οΈ and heads up β it is an error if neither file exists and you didn't give-f. so like, make sure one of them exists bestie π-a archβ sets the name of a make variable used for architecture-specific filenames and paths. the default isARCHπ-o osβ sets the name of a make variable for operating-system-specific filenames and paths. the default isOPSYSπΈ-nβ generates full filenames and paths, with any architecture- or operating-system-specific parts expanded out to their definition for the host system. and if you use this one, then any-aand-ooptions are just... ignored. sorry to them π-Cctl=valueβ sets the controlctltovalueβ¨-Dname=valueβ defines the CM variablenameto have the givenvalueπ-D'nameβ defines the CM variablenameto have the value1. yes, with the lil apostrophe. keep it fr fr π₯-Unameβ removes any definition of the CM variablenameπ (gone, deleted, no cap)
π AUTHOR π
ML-Makedepend was written by Matthias Blume π«Ά absolute legend, we stan.
β SEE-ALSO β
go check out these besties too:
iykyk π
π COPYING π
Copyright Β© 2020 The Fellowship of SML/NJ
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. π«Ά (like genuinely no warranty, don't come for them if something breaks, okay? π)
and that's the whole page bestie β go forth and let make do your bidding β¨
SML/NJ Β· 2025-11-04 Β· ML-MAKEDEPEND(1) β mwah, that's the source, the version and the date, all tucked in at the bottom like a little goodnight kiss ππ
π¦ where this page comes from
- arch rolling: smlnj 110.99.9-1 Β· SMLNJ
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms