# seisman/how-to-write-makefile

跟我一起写Makefile重制版

Repository: https://github.com/seisman/how-to-write-makefile
Canonical: https://ross.abutalabs.com/products/how-to-write-makefile
Homepage: https://seisman.github.io/how-to-write-makefile/
Language: Python
License Family: other
Last push: 2025-11-26T11:57:18+00:00

## Health v2 (maintenance only)
Score: 47/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 54, release rhythm 8, longevity 100
- inputs: {"age_days": 4572, "days_push": 280, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3642, forks 593 (observed 2026-08-28T04:08:12.847081+00:00)

## What it is
A remastered Sphinx-based edition of the classic Chinese tutorial '跟我一起写Makefile' (Write Makefile With Me), originally by Chen Hao, teaching GNU Make and Makefile writing. It builds to an online HTML site and a syntax-highlighted PDF book.

## Use cases
- learn how to write makefiles
- understand GNU make rules and variables
- reference for implicit rules and make functions
- get a nicely typeset PDF of the classic Makefile tutorial
- study automatic variables and pattern rules
- learn how make works for compiling and linking programs

## When to choose
- you want a comprehensive, well-formatted tutorial on GNU Make and Makefiles
- you prefer reading a structured book with syntax-highlighted code examples
- you need a free online or PDF reference for make's rules, variables, functions, and implicit rules

## When to avoid
- you need official, up-to-date GNU Make manual content in English
- you are looking for a tool to generate or run makefiles rather than learn them
- you need tutorials for other build systems like CMake or Ninja

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, build-tool, developer-tools
- domain: developer-tools, tutorials, documentation
- platform: cross-platform, python
- tags: makefile, gnu-make, book, sphinx, tutorial, chinese, pdf, command-line, web-server

## Member repositories
- seisman/how-to-write-makefile (main) score 47

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:12.847081+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:31:47.217084+00:00, confidence not recorded.
  - readme: https://github.com/seisman/how-to-write-makefile (fetched 2026-08-28T04:08:12.847081+00:00, sha af6fe641175a)
  - homepage: https://seisman.github.io/how-to-write-makefile/ (fetched 2026-08-29T09:26:08.495326+00:00, sha bc00e33205d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
