makefile

来自「在传输层实现了资源的负载平衡 实现了集群」· 代码 · 共 39 行

TXT
39
字号
# tcpsf:  tcp splicing module for the Linux kernelNAME	= tcpspVERSION = 0.0.5# uncomment the following line on an SMP system#SMPFLAGS= -D__SMP__# uncomment the following line for DEBUGDEBUGFLAGS= -DCONFIG_TCPSP_DEBUG -gCC=gccCFLAGS= -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS \	$(SMPFLAGS) $(DEBUGFLAGS) -O2 -Wall \	-Wstrict-prototypes -I/usr/src/linux/include \	-include /usr/src/linux/include/linux/modversions.hall:	tcpsp.otcpsp.o:	 tcpsp_ctl.o tcpsp_core.o tcpsp_conn.o	$(LD) -r $^ -o $@install:	tcpsp.o	-rmmod tcpsp	insmod tcpsp.o	lsmodclean:	rm -f *.o *~ *.bak *.orig *.rej $(NAME)-$(VERSION).tar.gzdistclean: clean	rm -f TAGS	make clean -C exampledist:	distclean	(cd .. ; tar czvf $(NAME)-$(VERSION).tar.gz --exclude CVS tcpsp)	mv ../$(NAME)-$(VERSION).tar.gz .

⌨️ 快捷键说明

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