JMKMF(1)

πŸ’– JMKMF(1) β€” the general commands manual, but make it cute πŸ’–

okay bestie, gather round, because this one is a little wrapper script with main character energy. jmkmf lives in the General Commands Manual and honestly? she's doing the most so you don't have to. ✨


🌸 NAME 🌸

jmkmf β€” runs jmake with the correct options. that's it. that's the whole job. she runs jmake. correctly. no cap. πŸ’…


✨ SYNOPSIS ✨

jmkmf [ top-level dir [ current dir ] ]

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the vibe: jmkmf is a wrapper, which means she calls jmake with the correct options for you, and she defines two symbols while she's at it:

  • TOPDIR β€” the location of the top-level directory
  • CURDIR β€” the current directory

then the generated Makefile.SH gets ran through /bin/sh to produce a Makefile. iconic behaviour, honestly. 🫢

When is jmkmf useful? literally when you generate a makefile for the first time. that's her moment. 🌟

When she's ran with no arguments, jmkmf will scan the directories upwards, looking for a .package file marking the top of your sources. she will then derive the top-level directory and the name of the current directory by herself. self-sufficient queen. πŸ‘‘

okay so now the part where you already did the thing: once you have a Makefile.SH generated by jmake, and have run Configure already, you can use make Makefile.SH to build the Makefile.SH again, and make Makefile to run the Makefile.SH through /bin/sh.

and for the recursive commands?? you have to append an 's' at the end of the name, like:

make Makefiles.SH
make Makefiles

that little s is doing SO much work fr fr. πŸ“


πŸ’œ AUTHOR πŸ’œ

Raphael Manfredi <Raphael.Manfredi@pobox.com>


πŸŽ€ FILES πŸŽ€

  • Jmakefile β€” high level description of makefile
  • the file marking the top of your package tree β€” and yes, bestie, the manpage genuinely did not print the name on this one, we only get the description. it's giving mysterious. πŸ™ˆ

🌈 SEE ALSO 🌈

jmake(1), packinit(1). go read those next, you're gonna eat them up. 😭πŸ”₯


cute little sign-off time: this page is signed off as ram in the footer, sitting next to JMKMF(1) β€” and there's no date printed down there, so we're just gonna assume she's timeless. πŸ‘‘πŸ’–

bye bestie, go make some makefiles βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from