gpt4 book ai didi

linux - 如何在 makefile 中运行 ./configure 脚本

转载 作者:IT王子 更新时间:2023-10-29 01:24:39 27 4
gpt4 key购买 nike

我尝试了以下方法:

$(shell ./libpng/configure)
./libpng/configure

在这种情况下

all : build_jpeg build_libpng

#JPEG BUILD RULES
build_jpeg :
make -C ./jpeg

#LIB PNG BUILD RULES
build_libpng :
$(shell ./libpng/configure)
make -C ./libpng

我该怎么做才能使这项工作成功?

最佳答案

当你执行 ./libpng/configure 时会发生什么?确保配置脚本是可执行的! (chmod +x ./libpng/configure)

关于linux - 如何在 makefile 中运行 ./configure 脚本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8683891/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com