4 ms·
What language is that link written in? It looks like bash sort of but not really?
by biturd 11y ago
What language is that link written in? It looks like bash sort of but not really?
- stephenr 11y agoIt's a Makefile.. for.. Make.
- notduncansmith 11y agoI feel like this reply could have been much more helpful and less snarky. Some people are still learning - we all were, at one point.
- keeganpoppen 11y agoeveryone is always learning (hopefully) ;D
- 72deluxe 11y agoSome people aren't learning to be helpful or less snarky though.... :-)
- johnmaguire2013 11y agoIt's a Makefile[1]. They are quite simple really. They're defined like this: target: dependencies command The command is run by a shell (e.g. bash!) when the target is called to be run. For example... all: hello world echo "!" hello: echo "Hello" world: echo "World" Now if you run "make", you will see each command being run. By default, if you call "make" with no arguments, the "all" target will be run. You can also call "make world" for example, to have it only run the "world" target. As you can see, first the dependencies of the target are called, then the command of the target is run. It's often used by C/C++ projects in order to manage dependencies, but can be used for anything really. Here's a short tutorial you can walk through if you're interested in how it works and why it's useful: http://mrbook.org/blog/tutorials/make/ http://mrbook.org/blog/tutorials/make/ 1. https://en.wikipedia.org/wiki/Makefile https://en.wikipedia.org/wiki/Makefile
- sova 11y agowow thanks for breaking that down. years of playing and prodding on linux and this helped me a lot. funny and funky what slips through the cracks. kudos friend