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

📄 makefilehc12

📁 CANopen源代码
💻
字号:
include ../includeMakefileHC12INCLUDES_COMMON_68HC12 = ../include/hc12MEMORY_X = ../include/hc12/board/archOBJCOPY=$(DEVC_PREFIX)objcopy# Options to creates the .s19 or .b files from the elfOBJCOPY_FLAGS=--only-section=.text \              --only-section=.rodata \	      --only-section=.vectors \	      --only-section=.data# CPP flags passed during a compilation (include paths)INCLUDES=-I. -I../include  -I$(INCLUDES_COMMON_68HC12)  -I$(LNXINC)CPPFLAGS+=$(INCLUDES) $(GEL_CPPFLAGS)# C flags used by default to compile a programCFLAGS=-$(CPU) $(TARGET_INT) $(WARN) $(DEBUG) $(OPTIM)# For assemblerASFLAGS = -$(CPU) $(TARGET_INT)LDSCRIPT= -$(CPU) -Wl,-m,$(CPU_LD)  -L$(MEMORY_X)LDFLAGS=  $(TARGET_PROC) $(TARGET_INT) $(LDSCRIPT)## .elf is for the simulator and gdb# .s19 is for some downloader and the simulator# .b   is a binary dump#OBJS = $(PREFIXE_OBJ)canOpenDriver.o \       $(PREFIXE_OBJ)interrupt.o \       $(PREFIXE_OBJ)ports.o \       $(PREFIXE_OBJ)timerhw.o\       $(PREFIXE_OBJ)variahw.o\# R鑗les implicites.SUFFIXES: .o .c .s$(PREFIXE_OBJ)%o: %c	@echo " "	@echo "*********************************************"	@echo "**Compilation $< -> $@"	@echo "*********************************************"	$(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $<$(PREFIXE_OBJ)%o: %s	@echo " "	@echo "*********************************************"	@echo "**Compilation $< -> $@"	@echo "*********************************************"	$(CC)  -c -x assembler-with-cpp $(ASFLAGS) -o  $@ $<all:	$(OBJS)clean:	-\rm $(OBJS)depend:	makedepend -f MakefileHC12 $(CPPFLAGS) -p $(PREFIXE_OBJ)  -Y canOpenDriver.c interrupt.c timerhw.c ports.s vectors.s# DO NOT DELETEhc12_canOpenDriver.o: ../include/hc12/asm-m68hc12/portsaccess.hhc12_canOpenDriver.o: ../include/hc12/asm-m68hc12/ports_def.hhc12_canOpenDriver.o: ../include/hc12/asm-m68hc12/ports.hhc12_canOpenDriver.o: ../include/hc12/applicfg.h ./candriver.hhc12_canOpenDriver.o: ../include/can.h ../include/objdictdef.hhc12_canOpenDriver.o: ../include/def.h ../include/hc12/interrupt.hhc12_canOpenDriver.o: ../include/canOpenDriver.h ../include/timer.hhc12_interrupt.o: ./error.h ./candriver.h ../include/can.hhc12_interrupt.o: ../include/hc12/applicfg.hhc12_interrupt.o: ../include/hc12/asm-m68hc12/portsaccess.hhc12_interrupt.o: ../include/hc12/asm-m68hc12/ports_def.hhc12_interrupt.o: ../include/hc12/asm-m68hc12/ports.h ../include/objdictdef.hhc12_interrupt.o: ../include/def.h ../include/hc12/asm-m68hc12/regs.hhc12_interrupt.o: ../include/hc12/interrupt.hhc12_timerhw.o: ../include/hc12/asm-m68hc12/portsaccess.hhc12_timerhw.o: ../include/hc12/asm-m68hc12/ports_def.hhc12_timerhw.o: ../include/hc12/asm-m68hc12/ports.h ./candriver.hhc12_timerhw.o: ../include/can.h ../include/hc12/applicfg.hhc12_timerhw.o: ../include/objdictdef.h ../include/def.hhc12_timerhw.o: ../include/hc12/interrupt.h ../include/canOpenDriver.hhc12_timerhw.o: ../include/timer.h ../include/hc12/timerhw.h

⌨️ 快捷键说明

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