Skip to content
Projects

seisman/how-to-write-makefile

View on GitHub

seisman/how-to-write-makefile has 3,645 GitHub stars and 591 forks. GitHot measured 0 stars in 24 hours and +2 in 7 days. Last checked 2026-11-09 15:28 UTC. Last push 2025-11-26.

How these counts are measured

跟我一起写Makefile重制版

Measured star growth

in 24h
0
in 7 days
+2
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

跟我一起写Makefile (PDF重制版) ##############################

.. image:: https://github.com/seisman/how-to-write-makefile/actions/workflows/deploy.yml/badge.svg :target: https://github.com/seisman/how-to-write-makefile/actions/workflows/deploy.yml

简介

《跟我一起写Makefile》是 陈皓_ 发表在其CSDN博客上的系列文章。该系列文章翻译整理自 GNU Make Manual_ ,一直受到读者的推荐,是很多人学习Makefile的首选文档。目前网络上流传的PDF版本多为祝冬华整理的版本。这个版本的排版一般,代码部分没有做任何语法高亮。

2010年初学Makefile的时候,读了前几章皮毛,一直用到了现在。最近想着重新学习一下Makefile,顺便学习一下Sphinx,重新制作一个更精美的PDF版本。

相关

本地编译

#. Clone项目到本地::

$ git clone https://github.com/seisman/how-to-write-makefile.git

#. 安装依赖::

$ pip install -r requirements.txt

#. 编译生成HTML::

$ make html $ firefox build/html/index.html&

#. 编译生成PDF(要求安装TeXLive)::

$ make latexpdf $ evince build/latex/Makefile.pdf&

.. _陈皓: http://coolshell.cn/haoel .. _Andriki: http://andriki.com/mediawiki/index.php?title=Linux:%E8%B7%9F%E6%88%91%E4%B8%80%E8%B5%B7%E5%86%99Makefile .. _Sphinx: http://sphinx-doc.org/ .. _GNU Make Manual: https://www.gnu.org/software/make/manual/

Explore related projects