define func1
include $(shell pwd)/test/$(strip $1)/component.mk
$(info :::::::${NAME} :::::::::::::::)
endef
INCLUDES := a b c
$(foreach dir, $(INCLUDES), $(eval $(call func1, $(dir))))
我试图用GNU make来自动化我的分析管道。我有一个脚本,它用模式data/sub001/sub001_input.txt读取文件并写入data/sub001/sub001_output.txt。我怎样才能为每个主题编写一个符合这种模式的规则?这里是我的尝试至今: # List of all the subjects
SUBJECTS ?= sub001 sub002 sub003
/da