Quick post on Make tool
Make Tool Introduction If you've ever installed software for a Unix-based system by compiling from source, you would have run commands such as 'make compile'. Make is a build automation tool that automatically builds executable programs and libraries from source code by reading files called Makefiles. Let's look at how it works. Simple Example Fig. 1 - Basic Example Code Snippet Here are the key points: We start by creating a ' Makefile ' in the directory. A Makefile has recipes that use the prerequisites to make the target . target: prerequisites <TAB> recipe We can run the 'makefile' by running the 'make' command at the command line. The make command runs the default target which is also called the 'default goal'. The prerequisites can be files or just a name for recipes, in which case they are called " phony targets ". A few more points to keep in mind: As we can see from the example in fig. 1, the recipe, 'echo &q