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

📄 makefile.all

📁 一个用在mips体系结构中的操作系统
💻 ALL
字号:
#!gmakeifndef SIMTOOLSSIMTOOLS = ../../../../..endifinclude $(SIMTOOLS)/makedefsVPATH = ..################################################################# Include Files################################################################INCS   = ifdef SIMOSDEF1 = -DSIMOSendifDEFS = $(DEF1) $(GLOBAL_DEFS)CFLAGS	 += -g -I$(SIMTOOLS)/apps/unix/ethersim/commonCC_OPTS   = $(CFLAGS) $(INCS) $(DEFS)C_TARGETS = ethersim.o ethersim_output.o ethersim_init.o ethersim_simport.o \        arpd.o ethersim_netport.oTARGETS   = $(C_TARGETS) $(SIMTOOLS)/apps/unix/ethersim/common/sprite_support.aifdef SIMOSifeq ($(CPU),SGI)GOAL = simoselseGOAL = endifendifdefault: warnifdef SIMOS	@$(MAKE) -f ../Makefile.ALL SIMOS=1 deps	@$(MAKE) -f ../Makefile.ALL SIMOS=1 INCLUDE_DEPS=1 $(GOAL)endifsimos: ethersimethersim:  $(TARGETS)	@echo "-> Making Ethersim"	$(CC) $(CC_OPTS) -o ../ethersim $(TARGETS)warn:	@echo ""	@echo "Making Ethersim for $(CPU)"	@echo "***************************"	@echo "  DEFS :   `$(FORMAT) $(DEFS)`"	@echo "  CFLAGS : `$(FORMAT) $(CFLAGS)`"	@echo ""$(C_TARGETS): %.o: $(SIMTOOLS)/apps/unix/ethersim/sgi/%.c	@echo "Compiling  $(<F)"	$(CC) $(CC_OPTS) -c $(SIMTOOLS)/apps/unix/ethersim/sgi/$*.c deps: ${C_TARGETS:.o=.d}%.d: %.c	@echo "Finding dependencies of $(<F)"	@$(CC) -M $(CC_OPTS) $< > $@ifdef INCLUDE_DEPSinclude ${C_TARGETS:.o=.d}endif

⌨️ 快捷键说明

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