makefile

来自「linux下telnet服务器源代码」· 代码 · 共 67 行

TXT
67
字号
# Makefile for utelnetd# # Configure this with the following environment variables:## where to installINSTDIR		:= /usr/local/bin/# GNU target string CROSS		:=# where to find login programifneq ("", "$(BSD)")LOGIN		:= /usr/bin/loginelseLOGIN		:= /bin/loginendififneq ("", "$(BSD)")CORE		:= utelnetd.coreelseCORE		:= coreendif# nothing to configure below this line... ---8<---8<---8<---PROGS     = utelnetdINSTMODE  = 0755INSTOWNER = rootINSTGROUP = rootOBJS      = utelnetd.oCC        = $(CROSS)gccINSTALL   = installCFLAGS	 += -I. -pipe -DSHELLPATH=\"$(LOGIN)\" -Wallifneq ("","$(DEBUG)")CFLAGS   += -DDEBUG -g -OsSTRIP	  = \#elseCFLAGS	 += -fomit-frame-pointerSTRIP	  = $(CROSS)strip endififeq ("1", "$(BSD)")CFLAGS   += -DBSDendifall: $(PROGS)$(PROGS): $(OBJS)	$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@	$(STRIP) --remove-section=.comment --remove-section=.note $@.PHONY: installinstall: $(PROGS)	$(INSTALL) -d $(INSTDIR)	$(INSTALL) -m $(INSTMODE) -o $(INSTOWNER) -g $(INSTGROUP) $(PROGS) $(INSTDIR).PHONY: cleanclean:	rm -f $(PROGS) *.o $(CORE)

⌨️ 快捷键说明

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