📄 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.makeexecimage: $(RTEMSLINK) -o example-rtems.bin -Wl,-Map -Wl,example-rtems.map $(APP_OBJS) $(OSAL_OBJS) $(BSP_OBJS) $(LIBS) $(OBJCOPY) -S -g -R .bss -R .sbss -R .stack_heap -O srec example-rtems.bin example-rtems.s3r $(NM) -g -n example-rtems.bin > example-rtems.num $(SIZE) example-rtems.bin > example-rtems.size $(OBJDUMP) --syms example-rtems.bin | sort > example-rtems.symbolsclean: rm -f example-rtems.bin rm -f example-rtems.s3r rm -f example-rtems.size rm -f example-rtems.map rm -f example-rtems.symbols rm -f example-rtems.num
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -