当前位置: 技术问答>linux和unix
高分请教:下面的makefile是什么意思?
来源: 互联网 发布时间:2015-11-11
本文导语: 下面是nessus扫描器中nessus-core的一个makefile中的开始一部分内容,以前在windows下编程,对linux编程不熟悉,所以请教各位,麻烦解析一下,谢谢! ------------------------------...
下面是nessus扫描器中nessus-core的一个makefile中的开始一部分内容,以前在windows下编程,对linux编程不熟悉,所以请教各位,麻烦解析一下,谢谢!
--------------------------------------------
include nessus.tmpl
ALLDEPS = nessus.tmpl
all: $(ALLDEPS) $(CLIENT) server sslstuff doc fetchtool
nessus.tmpl: nessus.tmpl.in configure VERSION
$(SHELL) configure $(CONFIGURE_ARGS)
touch $@
install: all $(CLIENT_INSTALL) install-bin install-man
@echo
@echo ' --------------------------------------------------------------'
@echo ' nessus-core has been sucessfully installed. '
@echo " Make sure that $(bindir) and $(sbindir) are in your PATH before"
@echo " you continue."
@echo " nessusd has been installed into $(sbindir)"
@echo ' --------------------------------------------------------------'
@echo
--------------------------------------------
include nessus.tmpl
ALLDEPS = nessus.tmpl
all: $(ALLDEPS) $(CLIENT) server sslstuff doc fetchtool
nessus.tmpl: nessus.tmpl.in configure VERSION
$(SHELL) configure $(CONFIGURE_ARGS)
touch $@
install: all $(CLIENT_INSTALL) install-bin install-man
@echo
@echo ' --------------------------------------------------------------'
@echo ' nessus-core has been sucessfully installed. '
@echo " Make sure that $(bindir) and $(sbindir) are in your PATH before"
@echo " you continue."
@echo " nessusd has been installed into $(sbindir)"
@echo ' --------------------------------------------------------------'
@echo
|
1、nessus.tmpl类似C里的include文件。
2、man mak。搞清楚目标、依赖和action,就明白了。
2、man mak。搞清楚目标、依赖和action,就明白了。
|
就是些依赖关系和需要执行的命令,去看下makefile的介绍吧
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。