makefile

来自「这是DVB tuner驱动部分和其它相关的源码和一些技术资料文档.」· 代码 · 共 41 行

TXT
41
字号
# Pick up default rules and variablesinclude $(DVD_MAKE)/generic.mak# Other components this component is dependant uponIMPORTS = sti2c stpio sttbx stevt stcommonEXPORTS = sttuner.h sttuner.lib# Supported modules in the buildTUNERS = genericDEMODS = stv299 stv199# Build targetsTARGETS = sttuner.lib# Environment variablesifndef STTUNER_SIGNAL_NOISESTTUNER_SIGNAL_NOISE = 0endif# Local objects which comprise this componentOBJS = tuner.tco sttuner.tco demod.tco tnr.tco sat.tco i2c.tco# Update CFLAGS with external optionsCFLAGS := $(CFLAGS) -DSTTUNER_SIGNAL_NOISE=$(STTUNER_SIGNAL_NOISE)# Default rulesinclude $(DVD_MAKE)/defrules.makinclude sttuner.maksttuner.lib: $(OBJS) $(TUNERLIBS) $(DEMODLIBS)	$(AR) $(LFLAGS) $^ -o $@install:    ifdef PRODUCTION    $(CP) $(EXPORTS) $(PRODUCTION)    endifclean: $(LIBCLEAN)	$(RM) *.tco	$(RM) *.lib

⌨️ 快捷键说明

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