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

📄 spec.mk

📁 sdcc是为51等小型嵌入式cpu设计的c语言编译器支持数种不同类型的cpu
💻 MK
字号:
# Port specification for the z80 port running ontop of the Java based# 'ConsoleZ80' emulator.RRZ80 = $(SDCC_EXTRA_DIR)/emu/rrz80/rrz80SDCCFLAGS +=-mz80 --nostdinc --less-pedantic --profile -DREENTRANT= -I$(top_srcdir)LINKFLAGS = --nostdlibLINKFLAGS += z80.libLIBDIR = $(top_builddir)device/lib/build/z80EXEEXT = .bin# Needs parts of gbdk-lib, namely the internal mul/div/mod functions.EXTRAS = $(PORT_CASES_DIR)/testfwk$(OBJEXT) $(PORT_CASES_DIR)/support$(OBJEXT)# Rule to generate a Emulator .bin file from the .ihx linker output.%$(EXEEXT): %.ihx	$(top_builddir)bin/makebin -s 32768 < $< > $@# Rule to link into .ihx%.ihx: %.c $(EXTRAS)	$(SDCC) $(SDCCFLAGS) $(LINKFLAGS) -L $(LIBDIR) $(EXTRAS) $< -o $@$(PORT_CASES_DIR)/%$(OBJEXT): $(PORTS_DIR)/$(PORT)/%.asm	$(top_builddir)bin/as-z80 -plosgff $@ $<%$(OBJEXT): %.s	$(top_builddir)bin/as-z80 -plosgff $@ $<%$(OBJEXT): %.c	$(SDCC) $(SDCCFLAGS) -c $< -o $@$(PORT_CASES_DIR)/%$(OBJEXT): fwk/lib/%.c	$(SDCC) $(SDCCFLAGS) -c $< -o $@# PENDING: Path to sdcc-extra%.out: %$(EXEEXT)	mkdir -p $(dir $@)	$(RRZ80) --maxruntime=3 --mapfile=$(<:.bin=.sym) $< > $@	-grep -n FAIL $@ /dev/null || true_clean:

⌨️ 快捷键说明

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