makefile

来自「osapi 2.0 操作系统抽象层 "系统抽象层"使得你可以实现一种对于RTO」· 代码 · 共 33 行

TXT
33
字号
#### Filename: makefile#### Purpose:  Makefile to link Linux x86 image #### Modifications:################################################################################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:	$(COMPILER) -g -o example-linux.bin $(APP_OBJS) $(OSAL_OBJS) $(BSP_OBJS) $(LDFLAGS) $(LIBS)	clean:	rm -f example-linux.bin

⌨️ 快捷键说明

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