多个Makefile [英] Multiple Makefiles

查看:64
本文介绍了多个Makefile的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在两个不同的目录中有两个Makefile。我如何知道这些Makefiles make将使用哪些
,并且有一些方法可以指定应该运行哪个
Makefile。

I have two Makefiles in two different directories. How do I know which of
these Makefiles make will use and is there some way to specify which
Makefile that should be run.

推荐答案

JS写道:
我在两个不同的目录中有两个Makefile。我如何知道这些Makefile所使用的是哪些,并且有一些方法可以指定应该运行哪个Makefile。
I have two Makefiles in two different directories. How do I know which of
these Makefiles make will use and is there some way to specify which
Makefile that should be run.




请请注意,无论是man page还是gcc,都没有向comp.lang.c制作主题

。在适当的新闻组中你可能会更好。

此外,阅读文档也会有所帮助。


man make,例如,会告诉你关于-C和-f选项

以及关于-I选项。

看一下手册,会告诉你更多关于make的地方
正在寻找makefile。

干杯

Michael

-

电子邮件:我的是/ at / gmx / dot / de地址。



Please note that neither man pages nor gcc nor make ar topical
to comp.lang.c. You may be better off in an appropriate newsgroup.
In addition, reading the documentation will help, too.

man make, for example, will tell you about the -C and -f options
as well as about the -I option.
Having a look at the manual, will tell you more about where make
is looking for makefiles.
Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.


Michael Mair写道:
Michael Mair wrote:
JS写道:
我在两个不同的目录中有两个Makefile。我如何知道这些Makefile所使用的是哪些,并且有一些方法可以指定应该运行哪个Makefile。
I have two Makefiles in two different directories. How do I know which of
these Makefiles make will use and is there some way to specify which
Makefile that should be run.



请注意,这两个人都没有页面也不是gcc也不是为了使用comp.lang.c.在适当的新闻组中你可能会更好。
此外,阅读文档也会有所帮助。



Please note that neither man pages nor gcc nor make ar topical
to comp.lang.c. You may be better off in an appropriate newsgroup.
In addition, reading the documentation will help, too.



你知道任何团体吗?我搜索过make但找不到任何关于这个程序的
组。


Do you know of any groups? I have searched for make but cannot find any
groups about this program.


JS写道:
JS wrote:
Michael Mair写道:
Michael Mair wrote:
JS写道:
我在两个不同的目录中有两个Makefile。我如何知道这些Makefile所使用的内容是什么?是否有一些方法可以指定应该运行哪个Makefile。
I have two Makefiles in two different directories. How do I know which
of these Makefiles make will use and is there some way to specify which
Makefile that should be run.



请注意,这两个人都没有页面也不是gcc也不是为了使用comp.lang.c.在适当的新闻组中你可能会更好。
此外,阅读文档也会有所帮助。



Please note that neither man pages nor gcc nor make ar topical
to comp.lang.c. You may be better off in an appropriate newsgroup.
In addition, reading the documentation will help, too.



你知道任何团体吗?我已经搜索过make但找不到关于这个程序的任何
组。


Do you know of any groups? I have searched for make but cannot find any
groups about this program.




像迈克尔一样,请查看手册页。如果你无法弄清楚这一点那么你就不会对编程抱有希望了。


gtoomey



Like Michael said look at the man page. If you cant figure this out then you
have no hope at programming.

gtoomey


这篇关于多个Makefile的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆