在 iOS 中使用 MakeFile
大家请耐心等待...
我从这里下载 Mac OS X 的 Jpcap 源代码:http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/download.html
然后,我按照以下教程安装它(适用于 Mac OS X):这里: http://netresearch.ics.uci.edu/kfujii/Jpcap/ doc/install.html
它说: 4. 进入“[Jpcap解压目录]/src/c”目录。 5. 运行“make”。
当我转到 /src/c
时,我看到一个名为“Makefile”的文件,没有扩展名。我应该用它做什么?
PS:我的机器上已经安装了 Xcode。
请详细告诉我,因为我没有太多 iOS 经验,而且我的主要语言不是英语。 谢谢!
People, be patient with me, please...
I download Jpcap source build for Mac OS X from here: http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/download.html
Then, I'm following the tutorial for installing it (for Mac OS X) from here: http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/install.html
It says:
4. Go to '[Jpcap extracted directory]/src/c' directory.
5. Run 'make'.
When I go to /src/c
, I see a file named "Makefile", without an extension. What should I do with it?
PS: I already have Xcode installed in my machine.
Please, tell me in details, cause I don't have much experience in iOS, and my main language is not English.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您将看到预期的内容:只是一个名为 Makefile 的文件。
make
是一个可执行文件,它将读取当前目录中的任何Makefile
。因此,只需运行
make
即可。我认为使用 macports、Fink 或 Homebrew 等打包系统来构建此类东西可能会更容易,因为其他人会为您完成构建的打包。
(另外,顺便说一句,它不是“MACOS”,而是 Mac OS X。)
You are seeing what is expected: just a file called Makefile.
make
is an executable which will read anyMakefile
in the current directory.So, just run
make
.I think it might be easier to use a packaging system like macports, Fink or Homebrew to build these sort of things, as someone else will have done the packaging of the builds for you.
(Also, btw, it is not 'MACOS', but Mac OS X.)