📄 makefile.tmpl
字号:
CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)LIBS=$(EXTRA_LIBS) $(LIBS1)INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)OBJS= os.o os-inline.o util_os2.oCOPY= os.h os-inline.cLIB= libos.aall: $(LIB)$(LIB): $(OBJS) rm -f $@ ar cr $@ $(OBJS) $(RANLIB) $@.c.o: $(CC) -c $(INCLUDES) $(CFLAGS) $<clean: for i in $(COPY); do rm -f $(INCDIR)/$$i ; done rm -f $(OBJS) $(LIB)distclean: clean -rm -f Makefile$(OBJS): Makefile$(INCDIR)/os.h: os.h cp $< $@ $(INCDIR)/os-inline.c: os-inline.c cp $< $@ # We really don't expect end users to use this rule. It works only with# gcc, and rebuilds Makefile.tmpl. You have to re-run Configure after# using it.depend: cp Makefile.tmpl Makefile.tmpl.bak \ && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \ && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \ && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \ -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \ > Makefile.tmpl \ && rm Makefile.new# DO NOT REMOVEos-inline.o: os-inline.c $(INCDIR)/ap_config.h \ $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h \ $(INCDIR)/os.h $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.hos.o: os.c os.h os-inline.cutil_os2.o: util_os2.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \ $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h \ $(INCDIR)/os.h $(INCDIR)/os-inline.c $(INCDIR)/ap_ctype.h \ $(INCDIR)/hsregex.h $(INCDIR)/ap_alloc.h $(INCDIR)/buff.h \ $(INCDIR)/ap.h $(INCDIR)/util_uri.h $(INCDIR)/http_log.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -