ML-MAKEDEPEND(1)

πŸ“¦
version 110.99.9 Β· 2 versions
, in arch rolling

πŸ’… 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 file makefile (or Makefile). ⚠️ 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 is ARCH πŸ’–
  • -o os β€” sets the name of a make variable for operating-system-specific filenames and paths. the default is OPSYS 🌸
  • -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 -a and -o options are just... ignored. sorry to them πŸ™ˆ
  • -Cctl=value β€” sets the control ctl to value ✨
  • -Dname=value β€” defines the CM variable name to have the given value πŸ’œ
  • -D'name β€” defines the CM variable name to have the value 1. yes, with the lil apostrophe. keep it fr fr πŸ”₯
  • -Uname β€” removes any definition of the CM variable name πŸ’€ (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