2 # Automatically-generated file. Do not edit!
5 -include ../makefile.init //包含上級目錄的makefile.init文件
6
7 RM := rm -rf //定義壹個變量RM,初始值是rm -rf,下文如有用到RM,等價於使用命令"rm - rf", 即強制刪除文件命令。
8
9 # All of the sources participating in the build are defined here
10 -include sources.mk //包含當前目錄下的sources.mk文件
11 -include subdir.mk //包含當前目錄下的subdir.mk文件
12 -include objects.mk //包含當前目錄下的objects.mk文件
13
14 ifneq ($(MAKECMDGOALS),clean) //比較參數“MAKECMDGOALS ”的值是否等於"clean", 如果不等,則為真。
15 ifneq ($(strip $(C++_DEPS)),)
16 -include $(C++_DEPS) //包含當前目錄下的$(C++_DEPS) 文件
17 endif
18 ifneq ($(strip $(C_DEPS)),) //strip函數的功能是去掉字符串開頭和結尾的空格
19 -include $(C_DEPS)
20 endif
21 ifneq ($(strip $(CC_DEPS)),)
22 -include $(CC_DEPS)
23 endif
24 ifneq ($(strip $(CPP_DEPS)),)
25 -include $(CPP_DEPS)
26 endif
27 ifneq ($(strip $(CXX_DEPS)),)
28 -include $(CXX_DEPS)
29 endif
30 ifneq ($(strip $(C_UPPER_DEPS)),)
31 -include $(C_UPPER_DEPS)
32 endif
33 endif
35 -include ../makefile.defs