makefile

来自「linux下ftp的库源码」· 代码 · 共 72 行

TXT
72
字号
# Generated automatically from Makefile.in by configure.CC=gcc -O0CO=coCFLAGS = -g -I. -I.. -L. -L..ALL=uftpOBJS=uftp.o uftpcmd.o uftp_tab.oSRCS=uftp.c uftpcmd.c uftp_tab.c uftp.h list.h list.c env.c getline.c getline.h glob.h cdefs.h glob.cLIBS=../libftp.a libetc.a################################################################################# Basic Rules################################################################################all: $(ALL)uftp:	$(OBJS) ../libftp.a libetc.a	$(CC) $(CFLAGS) -o uftp $(OBJS) -lftp -letc clean: 	rm -f $(ALL) $(OBJS) libetc.a $(LIBOBJS) *~ core	################################################################################# Depending from main library (libftp)################################################################################../libftp.a: $(shell echo ../*.[ch])	@cd ..;$(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" ################################################################################# Library with help functions################################################################################LIBOBJS= getline.o glob.o env.o list.olibetc.a: $(LIBOBJS)		ar cruv libetc.a  $(LIBOBJS)	ranlib libetc.a	$(SRCS):	$(CO) $@# DO NOT DELETE THIS LINE -- make depend depends on it.getline.o: getline.hglob.o: glob.h cdefs.hglob.o: cdefs.hlist.o: list.h uftp.h glob.h cdefs.h getline.huftp.o: uftp.h glob.h cdefs.h getline.h list.huftp.o: glob.h cdefs.h getline.h list.huftp_tab.o: uftp.h glob.h cdefs.h getline.h list.huftpcmd.o: uftp.h glob.h cdefs.h getline.h list.h

⌨️ 快捷键说明

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