makefile

来自「look at this software its cool really co」· 代码 · 共 58 行

TXT
58
字号
#   the target to buildTARGET=mod_gzip#   the used toolsAPXS=/usr/local/apache2/bin/apxsAPACHECTL=/usr/local/apache2/bin/apachectl#   additional defines, includes and librariesLIBDIR=/usr/lib#INC=-I/usr/include/zlibLIB=-lz -L$(LIBDIR)#   the default targetOPT=-Wc,-WallOPT+=-Wl,--rpath -Wl,$(LIBDIR)#   the default targetall: $(TARGET).la#   compile the shared object file%.la: %.c	$(APXS) -c $(OPT) $(DEF) $(INC) $(LIB) $<#   create a preprocessed source file%.pre: %.c	$(CC) -E $(OPT) $(DEF) $(INC) $(LIB) $<#   install the shared object file into Apache install: all	$(APXS) -i $(TARGET).la#   install the shared object file into Apache and make entry in httpd.confinstallfirst: all	$(APXS) -i -a -n '$(TARGET)' $(TARGET).la#   cleanupclean:	-rm -f $(TARGET).o $(TARGET).l* $(TARGET).s*	-rm -f -r ./.libs#   simple testtest: reload	lynx -mime_header http://localhost/auth_pg#   install and activate shared object by reloading Apache to#   force a reload of the shared object filereload: install restart#   the general Apache start/restart/stop#   proceduresstart:	$(APACHECTL) startrestart:	$(APACHECTL) restartstop:	$(APACHECTL) stop

⌨️ 快捷键说明

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