⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 内存垃圾收集程序
💻
字号:
OBJS= reclaim.o allochblk.o misc.o alloc.o mach_dep.o# add rt_allocobj.o for RT versionSRCS= reclaim.c allochblk.c misc.c alloc.c mach_dep.c rt_allocobj.s mips_mach_dep.sCFLAGS= -O# Set SPECIALFLAGS to -q nodirect_code on Encore.SPECIALCFLAGS = all: gc.o test$(OBJS): runtime.hgc.a: $(OBJS)	ar ru gc.a $(OBJS)	ranlib gc.agc.o: $(OBJS)	-ld -r -o gc.o $(OBJS)# mach_dep.c doesn't like optimization# On a MIPS machine, move mips_mach_dep.s to mach_dep.s and remove# the following two lines from this Makefile# On an RT, it is a good idea to force mach_dep.c to be compiled with pcc.mach_dep.o: mach_dep.c	cc -c ${SPECIALCFLAGS} mach_dep.cclean: 	rm -f test gc.o gc.a test.o cons.o $(OBJS)test.o: cons.h test.ccons.o: cons.h cons.ctest: test.o cons.o gc.o	cc -o test test.o cons.o gc.o# Some version of the RT ld command require that gc.o on the preceding lines# be changed to gc.ashar:	makescript -o gc.shar README Makefile runtime.h ${SRCS} test.c cons.c cons.h

⌨️ 快捷键说明

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