?? makefile
字號:
TARGET = irLIBS = -L../lib -lserialDEVC_PREFIX = m6811-elf-CC = $(DEVC_PREFIX)gccAS = $(DEVC_PREFIX)asAR = $(DEVC_PREFIX)arSIZE = $(DEVC_PREFIX)sizeOBJCOPY = $(DEVC_PREFIX)objcopy.SUFFIXES: .elf .s19 .b## Options to creates the .s19 or .b files from the elf#OBJCOPY_FLAGS=--only-section=.text \ --only-section=.rodata \ --only-section=.vectors## Rule to create an S19 file from an ELF file.#.elf.s19: $(OBJCOPY) --output-target=srec $(OBJCOPY_FLAGS) $< $*.s19## Rule to create an binary dump from an ELF file.#.elf.b: $(OBJCOPY) --output-target=binary $(OBJCOPY_FLAGS) $< $*.b## Rule to create an ELF file from an object#.o.elf: $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)all :: $(TARGET).b $(TARGET).s19$(TARGET).elf : $(TARGET).o memory.x $(VECTORS.S)ASFLAGS += -m68hc11 --print-insn-syntax -ahls=$*.lst # --gstabsTARGETS = $(TARGET).b $(TARGET).s19$(TARGET).elf : vectors.sall :: $(TARGETS)$(TARGETS.MC6811) :: memory.xclean:: $(RM) *.o $(RM) *.elf $(RM) *.s19 $(RM) *.b $(RM) *.a $(RM) *.lstdist-clean:: clean $(RM) m68hc11.ram $(RM) *~ $(RM) #*
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -