?? 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 + -