📄 makefile
字号:
#!gmake## Makefile for apps intended to run on top of SIMOS## Assumes $ROOT is set to the kernel port to find include files##include "../../makedefs"ifeq ($(CPU),SGI) CCOM = /usr/bin/cc -xansiDEFS = -DSIM -DSIMOS -DSIMMP -DSIMVERSION2OPTS = -gLOPTS = -wlint,-uiv -woff 826,852INCS = -I$(ROOT)/kernDEFS2 = -DSIM -DSIMOS -DSIMMPOPT2 = -O2 -g3INCS2 = -I../../simos -I../../cpus/shared -I$(SIMOSINCDIR)endififeq ($(CPU),ALPHA)CCOM = gccDEFS = -DSIMOS OPTS = -g -staticINCS = -I.endif.c.o: $(CCOM) $(DEFS) $(OPTS) $(LOPTS) $(INCS) -c $<all: multi_apps util_apps simoslib.omulti_apps: bootslave #rpc rpc_server util_apps: CPA cellkill objcvt.c bdoor: bdoor.o $(CCOM) $(OPTS) -o bdoor bdoor.obootslave: bootslave.o simosapps.h $(CCOM) $(OPTS) -o bootslave bootslave.oCPA: CPA.o simosapps.h $(CCOM) $(OPTS) -o CPA CPA.ocellkill: cellkill.o simosapps.h $(CCOM) $(OPTS) -o cellkill cellkill.orpc: rpc.o simosapps.h $(CCOM) $(OPTS) -o rpc rpc.orpc_server: rpc_server.o simosapps.h $(CCOM) $(OPTS) -o rpc_server rpc_server.omaptest: maptest.o simosapps.h $(CCOM) $(OPTS) -o maptest maptest.oobjcvt: objcvt.o simosapps.h $(CCOM) $(OPTS) -o objcvt objcvt.o -lelfclean: rm bootslave CPA maptest
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -