如何从 Xcode 运行“make install”

tea*_*mon 4 xcode makefile

我在 Xcode 中有自定义的 Makefile 和外部构建目标。当我点击“Build”时它运行“make” 当我点击“Clear”时它运行“make clean”

如何从 Xcode 运行“make install”(或任何其他目标)?

(顺便说一句,这是 AVR 项目,xcode 项目文件是使用 Crosspack-AVR 附带的 avr-project 工具创建的)

cde*_*osa 5

$xcodebuild install
Run Code Online (Sandbox Code Playgroud)

从项目目录中的命令行,就像make一样。

  • 好吧,我的意思是“在 xcode 中单击的位置”以在不使用 shell 的情况下运行“make install” (3认同)