close

學習  make file 的撰寫,一開始就出師不利。

執行 make -f makefile01 時,就出現下列錯誤訊息:

makefile01:2: *** missing separator.  Stop.

查詢後,發現後原來是因為 makefile01 中,gcc -c mymath.c;gcc 前面不可使用空格,一定要使用 tab 開始。


arrow
arrow
    全站熱搜

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