[英]Makefile --mingw32-make.exe
我有這個 makefile 我嘗試運行它
code : CC = gcc
all: sph2pipe create_mix
sph2pipe: sph2pipe_compiled
sph2pipe_compiled: sph2pipe_v2.5/sph2pipe
sph2pipe_v2.5/sph2pipe: | sph2pipe_v2.5
cd sph2pipe_v2.5/; \
$(CC) -o sph2pipe *.c -lm
sph2pipe_v2.5: sph2pipe_v2.5.tar.gz
tar xzf sph2pipe_v2.5.tar.gz
create_mix:
unzip create-speaker-mixtures.zip -d create-speaker-mixtures
clean:
rm -rf sph2pipe_v2.5/
rm -rf create-speaker-mixtures/
我在 windows 8.1 所以我在 cmd 中使用這個命令:mingw32-make.exe makefile
但我有一個錯誤((mingw32-make.exe 'makefile' 無事可做))
我嘗試這樣做:mingw32-make.exe
我還有另一個錯誤
我將分享第二個錯誤的圖片
請剪切並粘貼您調用的命令以及您在問題中遇到的錯誤,並正確格式化。 與您有相同問題的其他人無法搜索到遠程站點上的圖片鏈接,該站點可能隨時離開,我們無法從圖像中復制內容。
但是你說你運行了命令:
mingw32-make.exe makefile
那是錯的。 Make 不接受 makefile 的名稱作為參數,它接受您要構建的目標的名稱。 所以這個命令告訴 make,“請確保文件makefile
是最新的”。 既然是這樣,您就會收到信息性消息(不是錯誤。)告訴您。
你應該只運行:
mingw32-make.exe
你可能會也可能不會遇到不同的問題。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.