This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Hello, and welcome to makefile basics. | |
| # | |
| # You will learn why 'make' is so great, and why, despite its "weird" syntax, it is actually a highly expressive, efficient, and powerful way to build programs. | |
| # Once you're done here, go to http://www.gnu.org/software/make/manual/make.html to learn SOOOO much more. | |
| # To do stuff with make, you type 'make' in a directory that has a file called "Makefile". You can also type 'make -f <makefile>' to use a different filename. | |
| # 要使用make进行操作,可以在具有名为“Makefile”的文件的目录中键入“make”。 您也可以输入'make -f <makefile>'来使用不同的文件名。 | |
| # A Makefile is a collection of rules. Each rule is a recipe to do a specific thing, sort of like a grunt task or an npm package.json script. | |
| # Makefile是一组规则。 每个规则都是执行特定操作的配方,有点像grunt任务或npm package.json脚本。 | |
| # A rule looks like this: 规则如下所示: |