makefileも動きます
Xcodeを入れたMacならMakefileも動くことを確認
次のようなmakefileを用意して確かめました
CURRENT_PATH := $(shell pwd) CURRENT_USERNAME := $(shell whoami) CURRENT_DIRECTORY := $(shell ls) SHELL=/bin/bash all : @echo "user name = $(CURRENT_USERNAME)" @echo "current path = $(CURRENT_PATH)" @echo "tocuh command" @touch test.txt .PHONY : clean clean : @echo "current directory contents = $(CURRENT_DIRECTORY)" @rm test.txt
まぁうっかり最初はCURRENTという単語を付けずにPATHにpwdの結果を入れてしまって,ノットファウンド!とおこられまくりでしたが。