Create a Simple Makefile and Run make Command

Published: 19 November 2021
on channel: BoostMyTool
35,101
275

How to build C/C++ files using make and Makefile.
**************************
The Makefile is used by “make” to compile and link a program.
The “Makefile” consists of rules with the following syntaxe:
target: dependency1 dependency2 ... dependencyN
command

The target can be:
- the file that is generated by the command (i.e. executable or object files)
- the name of an action that should be done, such as “clean”
dependencies are other targets or files that are used to create the current target.
The command is the action that will be executed by the “make” tool. The command is executed only if the target file does not exist or if any dependency is updated. .

***********************************

🔥 Complete Udemy Courses :
ASP.NET MVC Course : https://www.udemy.com/course/aspnet-c...
ASP.NET Course : https://www.udemy.com/course/aspnet-c...
ASP.NET Core Web API : https://www.udemy.com/course/build-as...
React JS : https://www.udemy.com/course/build-co...

⬇️ Free Document Proofreading ⬇️
► Grammarly : https://grammarly.go2cloud.org/SH3YB