Make抓頭檔案裡的變量 - Linux
By Hedy
at 2013-02-06T08:29
at 2013-02-06T08:29
Table of Contents
是這樣的 有個頭檔案叫 version.h
#ifndef _VERSION_H_
#define _VERSION_H_
#define VERSION 0.1.16
#endif
在makefile 裡想去抓取VERSION的數值( 0.1.16),然後存在一個變量裡
(好比叫VERSION好了)
那請問要怎做呢?
試了很久還是不太行啊,對shell很不熟
有沒大大能幫一下的呢 謝謝
--
Tags:
Linux
All Comments
By Kama
at 2013-02-06T13:09
at 2013-02-06T13:09
By Ethan
at 2013-02-07T19:57
at 2013-02-07T19:57
By Selena
at 2013-02-08T19:40
at 2013-02-08T19:40
Related Posts
用RedHat6 (64bit)架設vpn,無法正常連入
By Rachel
at 2013-02-05T13:56
at 2013-02-05T13:56
ubuntu 12.10 youtube不能看
By Kelly
at 2013-02-05T03:47
at 2013-02-05T03:47
Ubuntu 12.04工具列的icon怎麼移動?
By Kama
at 2013-02-05T03:05
at 2013-02-05T03:05
開啟終端機出現一行文字
By Lily
at 2013-02-04T20:28
at 2013-02-04T20:28
開啟終端機出現一行文字
By Annie
at 2013-02-04T19:35
at 2013-02-04T19:35