Should be said, though, that just looks superficially similar, but is a very different tool.
just is a way of aliasing commands/scripts. You can do that with make as well, by whacking .PHONY onto everything, but it really isn’t what it was built for.
make is instead a way of defining rules for how to transform files into other files. For that transformation, you’ll then use commands/scripts, but it’s really about defining a whole build system based on the rules.
Perhaps in other words, just works best, if your language already has a build tool that you just need to call with different flags. make is instead intended to be that build tool, and what it calls underneath is a compiler.
Should be said, though, that
justlooks superficially similar, but is a very different tool.justis a way of aliasing commands/scripts. You can do that withmakeas well, by whacking.PHONYonto everything, but it really isn’t what it was built for.makeis instead a way of defining rules for how to transform files into other files. For that transformation, you’ll then use commands/scripts, but it’s really about defining a whole build system based on the rules.Perhaps in other words,
justworks best, if your language already has a build tool that you just need to call with different flags.makeis instead intended to be that build tool, and what it calls underneath is a compiler.