Makefile
Is een soort macro / script declaratieve taal
die transformaties (actions) beschrijft om van source file(s) te gaan naar een target (binary , object executable)
vergelijk :
A recipe would tell you to boil water
but not whether you should boil water using a pan on a gas stove, a pan on an induction stove, an electric kettle, or a cauldron placed on a tripod over a fire.
It wouldn’t even tell ou where you should get your water.
This is like tellingmaketo boil water, and using its internal rules,makewill just figure out how
Bijna uitsluitend gebruikt in programmatie , om C code files te compileren en/of te linken.
Maar je zou het kunnen in principe ook voor andere doeleinden kunnen gebruiken , zoals bijvb.
Makefile syntax is whitespace aware and requires tabs to indent commands under actions.
== voor in een andere note :
installeert enkel essentiele tools om zelf te kunnen builden
sudo apt install git dkms build-essential