当前位置: 技术问答>linux和unix
在C编程中,对于Makefile文件,--请大家帮一下!
来源: 互联网 发布时间:2014-12-08
本文导语: 后缀应该是什么?怎么编辑呢? 还有对于 #include 引用的头文件,我用到了个函数,可是不知道它属于哪个函数,怎么找? | Makefile has no suffix. You can use any text editor to compose it. And c...
后缀应该是什么?怎么编辑呢?
还有对于 #include 引用的头文件,我用到了个函数,可是不知道它属于哪个函数,怎么找?
还有对于 #include 引用的头文件,我用到了个函数,可是不知道它属于哪个函数,怎么找?
|
Makefile has no suffix. You can use any text editor to compose it. And commonly, it was created by a configure script.
btw, If you want to know the file property you can use
file xxx
for example if you type "file Makefile" the following will occurs:
"Makefile:ASCII make commands text"
And If you want use some system call or APIs, you can find them in /usr/include
or /usr/lib directory.
Good luck!
btw, If you want to know the file property you can use
file xxx
for example if you type "file Makefile" the following will occurs:
"Makefile:ASCII make commands text"
And If you want use some system call or APIs, you can find them in /usr/include
or /usr/lib directory.
Good luck!
|
Makefile通常没有后缀名,默认的名称就是Makefile或GNUMakefile
如果你用了其他的文件名在编译时用:$ make -f **** (文件名)
编辑一般就用vi编辑器吧!
下一个问题你好想说的不是很清楚!
如果你想在文件中寻找一些字段用 grep 命令
如果你用了其他的文件名在编译时用:$ make -f **** (文件名)
编辑一般就用vi编辑器吧!
下一个问题你好想说的不是很清楚!
如果你想在文件中寻找一些字段用 grep 命令