Software Development with C++: Introduction to GNU make and Makefiles
Вставка
- Опубліковано 18 жов 2024
- In this video we look at the basics of GNU make and Makefiles!
GNU make Documentation: www.gnu.org/so...
For code samples: github.com/coff...
For live content: / coffeebeforearch
For make print_add, you mentioned that it will automatically track the dependencies for us. Does that mean (prior) instructions that have no dependencies will not be ran?
Thanks for the informative video.
If you run make , make will run the rule for that and any rules that generate prerequisites for that target. If there is another rule in the Makefile that is not being directly run, and does not generate a prerequisite for the specified target, it will not be run.
Useful.
Thanks
Happy to share :^)
Cheers,
--Nick