📄 makefile
字号:
# -*- makefile -*-srcdir := .top_srcdir := ..CC:=gccAR:=arRANLIB:=ranlibPROGRAMS:=btlist btget btcheckLIBBT:=libbt.aSRCS:=\ benc.c \ bts.c \ types.c \ random.c \ strbuf.c \ stream.c \ peer.c \ segmenter.c \ util.c \ bitset.c \ context.c \ bterror.cOBJS:= ${SRCS:.c=.o}CPPFLAGS:=CFLAGS:=-g -Wall -I../include -I$(top_srcdir)/includeLIBS:=-luuid -lssl -lcurl `curl-config --libs` -lmLDFLAGS:=-g -L. VERSION=1.03MAKEDEPEND=makedependall: ${LIBBT} ${PROGRAMS}install: all mv ${PROGRAMS} libbt.a ../binstatic: -rm ${PROGRAMS} make "LDFLAGS=${LDFLAGS} -static"docs: doxygen *.cdepend: ${MAKEDEPEND} -- ${CFLAGS} - ${SRCS}btcheck: libbt.a btcheck.c ${CC} ${CFLAGS} -DVERSION=${VERSION} ${LDFLAGS} -o btcheck btcheck.c -lbt ${LIBS}btlist: ${LIBBT} btlist.c ${CC} ${CFLAGS} -DVERSION=${VERSION} ${LDFLAGS} -o btlist btlist.c -lbt ${LIBS}btget: ${LIBBT} btget.c ${CC} ${CFLAGS} -DVERSION=${VERSION} ${LDFLAGS} -o btget btget.c -lbt ${LIBS}clean: rm -f ${OBJS} btcheck.o btlist.o btget.odistclean: clean rm -f ${PROGRAMS} ${LIBBT} cp Makefile.default Makefilelibbt.a: ${OBJS} ${AR} rc $@ ${OBJS} ${RANLIB} $@.c.o: ${CC} -c ${CFLAGS} ${CPPFLAGS} $< -o $@# DO NOT DELETEbenc.o: ../include/config.h ../include/benc.h ../include/types.hbenc.o: ../include/util.h ../include/bts.h ../include/bterror.hbitset.o: ../include/config.h ../include/bitset.h ../include/random.hbitset.o: ../include/util.hblock.o: ../include/config.hbtcheck.o: ../include/config.h ../include/types.h ../include/util.hbtcheck.o: ../include/benc.h ../include/bts.h ../include/segmenter.hbtcheck.o: ../include/bitset.h ../include/context.h ../include/peer.hbtcheck.o: ../include/stream.h ../include/strbuf.hbterror.o: ../include/bterror.hbtget.o: ../include/config.h ../include/util.h ../include/bts.hbtget.o: ../include/benc.h ../include/types.h ../include/random.hbtget.o: ../include/peer.h ../include/stream.h ../include/strbuf.hbtget.o: ../include/bitset.h ../include/segmenter.h ../include/context.hbtget.o: ../include/bterror.hbtlist.o: ../include/config.h ../include/bts.h ../include/types.hbtlist.o: ../include/util.h ../include/benc.hbts.o: ../include/config.h ../include/bts.h ../include/util.hcontext.o: ../include/config.h ../include/context.h ../include/types.hcontext.o: ../include/util.h ../include/segmenter.h ../include/bitset.hcontext.o: ../include/peer.h ../include/stream.h ../include/strbuf.hcontext.o: ../include/bts.h ../include/benc.h ../include/random.hpeer.o: ../include/config.h ../include/bterror.h ../include/btmessage.hpeer.o: ../include/peer.h ../include/stream.h ../include/strbuf.hpeer.o: ../include/bitset.h ../include/segmenter.h ../include/util.hpeer.o: ../include/context.h ../include/types.hrandom.o: ../include/config.hsegmenter.o: ../include/config.h ../include/util.h ../include/types.hsegmenter.o: ../include/segmenter.h ../include/bitset.hstrbuf.o: ../include/config.h ../include/util.h ../include/strbuf.hstream.o: ../include/config.h ../include/bterror.h ../include/stream.hstream.o: ../include/strbuf.h ../include/util.htypes.o: ../include/config.h ../include/util.h ../include/types.hutil.o: ../include/config.h ../include/bterror.h ../include/util.h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -