Skip to content
项目

seisman/how-to-write-makefile

在 GitHub 查看

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

这些数字如何统计

跟我一起写Makefile重制版

实测星标增长

24小时
-1
7天
+1
15天
更新延迟
1个月
更新延迟

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

跟我一起写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/

探索相关项目