makefile

来自「纯C数据结构」· 代码 · 共 55 行

TXT
55
字号
CC	= lcc -AI	= ../includeCPPFLAGS=CFLAGS	= -g -I$(I)OBJS	= ap.o arena.o arith.o array.o assert.o atom.o bit.o chan.o except.o \	fmt.o list.o mem.o mp.o ring.o seq.o set.o stack.o str.o \	table.o text.o xp.o thread.o swtch.o \	memcmp.o memmove.o strncmp.o strerror.olibcii.a:	$(OBJS)		ar r $@ $?		ranlib $@swtch.o:	swtch.s		/lib/cpp -P $(CPPFLAGS) swtch.s >swtch.i		as -o $@ swtch.i && rm -f swtch.idepend:		makedepend -w1000 -I$(I) *.c		sed -e '/^# DO NOT/,$$s/\/usr[a-z\/.]*\.h//g' \		    -e '/^# DO NOT/,$$s/  [ ]*/ /g' <makefile >tmp		mv tmp makefileclean:		rm -f *.oclobber:	clean		rm -f libcii.a# DO NOT DELETE THIS LINE -- make depend depends on it.ap.o: $(I)/assert.h $(I)/except.h $(I)/ap.h $(I)/fmt.h $(I)/xp.h $(I)/mem.harena.o: $(I)/assert.h $(I)/except.h $(I)/arena.harith.o: $(I)/arith.harray.o: $(I)/assert.h $(I)/except.h $(I)/array.h $(I)/arrayrep.h $(I)/mem.hassert.o: $(I)/assert.h $(I)/except.h $(I)/atom.o: $(I)/atom.h $(I)/assert.h $(I)/except.h $(I)/mem.hbit.o: $(I)/assert.h $(I)/except.h $(I)/bit.h $(I)/mem.hchan.o: $(I)/assert.h $(I)/except.h $(I)/mem.h $(I)/chan.h $(I)/sem.hexcept.o: $(I)/assert.h $(I)/except.h $(I)/fmt.o: $(I)/assert.h $(I)/except.h $(I)/fmt.h $(I)/mem.hlist.o: $(I)/assert.h $(I)/except.h $(I)/mem.h $(I)/list.hmem.o: $(I)/assert.h $(I)/except.h $(I)/mem.hmemchk.o: $(I)/assert.h $(I)/except.h $(I)/mem.hmp.o: $(I)/assert.h $(I)/except.h $(I)/fmt.h $(I)/mem.h $(I)/xp.h $(I)/mp.h $(I)/ring.o: $(I)/assert.h $(I)/except.h $(I)/ring.h $(I)/mem.hseq.o: $(I)/assert.h $(I)/except.h $(I)/seq.h $(I)/array.h $(I)/arrayrep.h $(I)/mem.hset.o: $(I)/mem.h $(I)/except.h $(I)/assert.h $(I)/arith.h $(I)/set.hstack.o: $(I)/assert.h $(I)/except.h $(I)/mem.h $(I)/stack.hstr.o: $(I)/assert.h $(I)/except.h $(I)/fmt.h $(I)/str.h $(I)/mem.htable.o: $(I)/mem.h $(I)/except.h $(I)/assert.h $(I)/table.htext.o: $(I)/assert.h $(I)/except.h $(I)/fmt.h $(I)/text.h $(I)/mem.hthread.o: $(I)/assert.h $(I)/except.h $(I)/mem.h $(I)/thread.h $(I)/sem.hxp.o: $(I)/assert.h $(I)/except.h $(I)/xp.h

⌨️ 快捷键说明

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