type
status
date
slug
summary
tags
category
icon
password
Prelude:
I often noticed Makefile files in the root directory when browsing open-source projects on GitHub. For a long time, I thought it was some kind of sophisticated "magic tool". So during my spare time at my internship, I decided to learn some basic syntax... only to discover that it's actually like a "recipe" for compilation - to get a target file (the dish), you need some dependencies (ingredients) and commands (cooking instructions). Anyway, at least now I can understand it (mostly).
Make
Basic Rules
Common CLI Parameters
Special Syntax
Pattern Rules
Functions
Custom Functions with call
Special Variables
Sub-Makefiles
Define Directive
Conditionals
Implicit Rules
Include Directive
Special Targets
Tips and Tricks
- Author:Parker Chen
- URL:www.parkerchenca.com/article/242f0ccf-d7f8-8063-9dd1-deb6a68c3a7d
- Copyright:All articles in this blog, except for special statements, adopt BY-NC-SA agreement. Please indicate the source!