Makefile 教學

http://blog.yam.com/ytha/article/16636287

 

1.  把 .c files 變成 .o ,然後 連結成為 機器看的懂的 binary file.

2. 在 ubuntu linux 下 要編譯 avr 用的 binary ,須要一各 cross compiler ==>  avr-gcc

3. #make clean , 清除編譯好之檔案

4. #make ,

5. make 會執行 makefile, makefile 可以分散在幾個 makefiles.

 如 makefile.a , makefile.include ...

文章標籤
全站熱搜
創作者介紹
創作者 Jasonubt 的頭像
Jasonubt

Jason work on unbuntu and debian

Jasonubt 發表在 痞客邦 留言(0) 人氣(408)