makefile

来自「Linux下的TFTP源代码」· 代码 · 共 76 行

TXT
76
字号
# You can do "make SUB=blah" to make only a few, or edit here, or both# You can also run make directly in the subdirs you want.SUB =   lib common tftp tftpd%.build: MCONFIG aconfig.h version.h	$(MAKE) -C $(patsubst %.build, %, $@)%.install: MCONFIG aconfig.h version.h	$(MAKE) -C $(patsubst %.install, %, $@) install%.clean:	$(MAKE) -C $(patsubst %.clean, %, $@) clean%.distclean:	$(MAKE) -C $(patsubst %.distclean, %, $@) distcleanall:      MCONFIG $(patsubst %, %.build, $(SUB))tftp.build: lib.build common.buildtftpd.build: lib.build common.buildinstall:  MCONFIG $(patsubst %, %.install, $(SUB))clean:	localclean $(patsubst %, %.clean, $(SUB))localclean:	rm -f version.hdistclean: localdistclean $(patsubst %, %.distclean, $(SUB))localdistclean: localclean	rm -f MCONFIG config.status config.log aconfig.h *~ \#*	rm -rf *.cache	find . -type f \( -name \*.orig -o -name \*.rej \) | xargs rm -fspotless: distclean	rm -f configure aconfig.h.in tftp.specautoconf: configure aconfig.h.inconfig:	MCONFIG aconfig.hrelease:	$(MAKE) autoconf	$(MAKE) tftp.spec	$(MAKE) distcleanMCONFIG: configure MCONFIG.in aconfig.h.in	if test -x config.status; then \		./config.status --recheck && ./config.status ; \	else \		./configure ; \	fiaconfig.h: MCONFIG	: Generated by side effect# Adding "configure" to the dependencies serializes this with running# autoconf, because there are apparently race conditions between# autoconf and autoheader.aconfig.h.in: configure.in configure aclocal.m4	rm -f aconfig.h.in aconfig.h	autoheaderconfigure: configure.in aclocal.m4	rm -rf MCONFIG configure config.log aconfig.h *.cache	autoconfversion.h: version	echo \#define VERSION \"tftp-hpa `cat version`\" > version.htftp.spec: tftp.spec.in version	sed -e "s/@@VERSION@@/`cat version`/g" < $< > $@ || rm -f $@

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?