[英]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.