📄 makefile
字号:
.SUFFIXES:SHELL = /bin/shifeq '$(RUA_DIR)' ''$(warning The 'RUA_DIR' environment variable is not set. Consider setting)$(warning it to point to the 'MRUA_src' subdirectory of your MRUA directory.)endififeq '$(findstring -DEM86XX_CHIP=EM86XX_CHIPID_,$(RMCFLAGS))' ''$(error The 'RMCFLAGS' environment variable is not set correctly. Please source 'DTV.env')endififeq '$(findstring -DEM86XX_MODE=EM86XX_MODEID_,$(RMCFLAGS))' ''$(error The 'RMCFLAGS' environment variable is not set correctly. Please source 'DTV.env')endif.PHONY: allall: @echo @echo "Sigma Designs EM86XX DTV SDK" @echo @echo "There are several sample applications in the DTV SDK. You can" @echo "build them all by building target 'apps'. Alternatively, target" @echo "'app-list' will give you the list of available applications," @echo "and you can build them individually by building the target with" @echo "the corresponding name." @echotest_applications := \ emi2c \ gpio \ msp34x5g \ vpc323xd \ wm8775.PHONY: $(test_applications)$(test_applications): %: bin/%_testbin/emi2c_test: emi2c/emi2c_test cp $< $@bin/gpio_test: gpio/gpio_test cp $< $@bin/msp34x5g_test: msp34x5g/msp34x5g_test cp $< $@bin/vpc323xd_test: vpc323xd/vpc323xd_test cp $< $@bin/wm8775_test: wm8775/wm8775_test cp $< $@emi2c/emi2c_test: $(MAKE) -C $(@D)gpio/gpio_test: $(MAKE) -C $(@D)msp34x5g/msp34x5g_test: $(MAKE) -C $(@D)vpc323xd/vpc323xd_test: $(MAKE) -C $(@D)wm8775/wm8775_test: $(MAKE) -C $(@D)tuner_application := tuner.PHONY: tunertuner: bin/tunerappbin/tunerapp: tuner/tunerapp cp $< $@tuner/tunerapp: $(MAKE) -C $(@D)all_applications := $(test_applications) $(tuner_application).PHONY: appsapps: $(all_applications).PHONY: app-listapp-list: @echo @echo Available application targets are: @echo $(all_applications) @echo.PHONY: clean $(all_applications:%=%_clean)clean: $(all_applications:%=%_clean) rm -f bin/*$(all_applications:%=%_clean): -$(MAKE) -C $(@:%_clean=%) clean
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -