type
Post
status
Published
date
Jul 31, 2025
slug
summary
The first step to understand makefile
tags
CI/CD
CI/CD
Makefile
category
Tech notes
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).
