makefile 想echo路徑 - Linux

By Jacky
at 2011-11-04T14:28
at 2011-11-04T14:28
Table of Contents
WORKROOT = .
all:
echo $(WORKROOT)
請教一下, 我是用相對路徑給WORKROOT值
假設我的makefile是放在/home/a/b/ 下面
可否讓echo印出絕對路徑'/home/a/b' 而不是印出'.'呢
謝謝!
--
Tags:
Linux
All Comments

By Anonymous
at 2011-11-06T05:46
at 2011-11-06T05:46

By Sarah
at 2011-11-11T00:38
at 2011-11-11T00:38
Related Posts
ubuntu電腦白痴有一問

By Gary
at 2011-11-04T05:21
at 2011-11-04T05:21
VMplayer無法裝Ubuntu 11.04 AMD64 bit

By Charlotte
at 2011-11-03T23:29
at 2011-11-03T23:29
vim plugin無法正常執行

By Xanthe
at 2011-11-03T22:27
at 2011-11-03T22:27
ubuntu 下無法輸入中文

By Brianna
at 2011-11-03T20:08
at 2011-11-03T20:08
git clone發生問題

By Candice
at 2011-11-03T16:41
at 2011-11-03T16:41