Makefile %

来源:互联网 发布:软件外包合同范本样本 编辑:程序博客网 时间:2024/05/16 04:39

code

  subdirs = dist-aa.c  dist = $(subdirs:%=dist-%)  dist1 = $(subdirs:dist-%=%)  all:       $(warning $(dist))       $(warning $(dist1))  .PHONY: all~                                                                                              ~                 

Result:

这里写图片描述

%

通配符

0 0
原创粉丝点击