變數宣告 :(有人稱之為巨集) ... define foo uname -a echo $$SHELL endef all: $(foo) ... 在Makefile 裡,只要以<Tab> 開頭都將會被視為Shell Script 執行。
確定! 回上一頁