📄 makefile
字号:
SHELL = /bin/shtop_builddir = ..top_srcdir = ..srcdir = .ANSI2KNR = o = .oprefix = /usr/localexec_prefix = ${prefix}bindir = ${exec_prefix}/binsysconfdir = ${prefix}/etclocaledir = $(prefix)/share/localeDESTDIR =CC = g++CPPFLAGS = -g# The following line is losing on some versions of make!CFLAGS = -DLINUX_REDHAT -DDEBUG#CFLAGS = -O2 -Wall -Wno-implicit -gLDFLAGS = LIBS = -lxml2 -lmysqlclienttarget = newspaperINCLUDES = -I. -I$(srcdir)COMPILE = $(CC) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)LINK = $(CC) $(CFLAGS) $(LDFLAGS) -o $@INSTALL = /usr/bin/install -cINSTALL_PROGRAM = ${INSTALL}RM = rm -fETAGS = etagsOBJ = main$o utils$o rss$o database$o configure$o admin$o htmlformat$o.SUFFIXES:.SUFFIXES: .cpp .o.cpp.o: $(COMPILE) -c $<# Dependencies for building$(target): $(OBJ) $(LINK) $(OBJ) $(LIBS)# We make object files depend on every header. Rather than attempt to# track dependencies, everything gets recompiled when a header# changes. With a program of Wget's size this doesn't waste much# time, and it's a lot safer than attempting to get all the# dependencies right.$(OBJ): utils.h## Dependencies for installing#install: install.binuninstall: uninstall.bininstall.bin: $(target) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir) $(INSTALL_PROGRAM) $(target) $(DESTDIR)$(bindir)/$(target)uninstall.bin: $(RM) $(DESTDIR)$(bindir)/$(target)## Dependencies for cleanup#clean: $(RM) *.o $(target) *~ *.bak core core.[0-9]* $(ANSI2KNR) *._o *._cdistclean: clean $(RM) Makefile config.hrealclean: distclean $(RM) TAGS config.h.in## Dependencies for maintenance#subdir = srcMakefile: TAGS: *.c *.h -$(ETAGS) *.c *.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -