2011年10月4日 星期二

Makefile 取當前路徑

在makefile呼叫shell script
 $(SHELL) build.sh


在makefile抓當前路徑
ROOTDIR  = $(shell pwd)

在shell script抓當前路徑
CURRENT_PATH=`pwd`

沒有留言:

張貼留言