📄 makefile
字号:
#### Filename: makefile##############################################################################include ../../../../../prolog.makinclude $(MAKEINC)/config.makAPP_OBJS= \$(BUILDBASE)/common/$(APPLICATION)/$(APPLICATION)all.oOSAL_OBJS = \$(BUILDBASE)/os/$(OS)/osal.o BSP_OBJS = \ ../bsp/bsp.o \ ../../hal/oshal.o ################################################################################ Links the final output binary. Note we ignore object dependencies,## linking regardless. This saves fooling around identifying## component object files- the link phase is fast anyway. The object## module dependencies work like they should.OUTPUT = example-vxworksmakeexecimage: $(LINKER) -r -o $(OUTPUT).bin -Map $(OUTPUT).map $(APP_OBJS) $(OSAL_OBJS) $(BSP_OBJS) $(LIBS) $(OBJCOPY) -S -g -R .bss -R .sbss -R .stack_heap -O srec $(OUTPUT).bin $(OUTPUT).s3r $(NM) -g -n $(OUTPUT).bin > $(OUTPUT).num $(SIZE) $(OUTPUT).bin > $(OUTPUT).size $(OBJDUMP) --syms $(OUTPUT).bin | sort > $(OUTPUT).symbolsclean: rm -f $(OUTPUT).bin rm -f $(OUTPUT).s3r rm -f $(OUTPUT).size rm -f $(OUTPUT).map rm -f $(OUTPUT).symbols rm -f $(OUTPUT).num
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -