📄 makefile.cl
字号:
# -----------------------------------------------------------------------------# MS Visual C makefile for compiling and testing the UGST IIR module.# 15.Feb.2000 - Created - <simao.campos@labs.comsat.com># -----------------------------------------------------------------------------.SUFFIXES: .c .obj # ------------------------------------------------# Choose a file comparison utility: # - cf compares, # - sub shows the difference of the different samples# Default is cf.# ------------------------------------------------#CF = cf -qCF = sub -q -equiv 1CF_OPT = 256 1 30# ------------------------------------------------# Choose an archiving utility: # - public domain unzip, or [PC/MS Visual C/VMS]# - shareware pkunzip [PC only]# ------------------------------------------------#UNZIP = pkunzipUNZIP = unzip -o# ------------------------------------------------# Choose an AWK; suggest use GNU version # (available via anonymous ftp) # ------------------------------------------------AWK = gawkAWK_CMD = '$$6~/[0-9]+:[0-9][0-9]/ {print "sb -over",$$NF};END{print "exit"}'# ------------------------------------------------# Choose compiler options# ------------------------------------------------CC=clCC_OPT=-I../utl -W1# ------------------------------------------------# General purpose symbols# ------------------------------------------------TEST_FILES = testg712.* cascg712.flt iir-irs.fltCASC_REF=cascg712.ref iir-irs.ref testpcm1.ref testpcmu.ref testpcmd.refOBJ_FILES = iir-lib.obj ugst-utl.objPCM = pcmdemo.exeIRS = cirsdemo.exeCASC_G712 = c712demo.exeRM=rm -f# ------------------------------------------------# Generic rules# ------------------------------------------------.c.obj: $(CC) $(CC_OPT) -c $<# ------------------------------------------------# Targets# ------------------------------------------------all:: pcmdemo cirsdemo c712demoanyway: clean allclean: $(RM) *.objcleantest: $(RM) $(TEST_FILES) $(CASC_REF) test.srcveryclean: clean cleantest $(RM) pcmdemo.exe cirsdemo.exe c712demo.exe# ------------------------------------------------# Specific rules# ------------------------------------------------ugst-utl.obj: ../utl/ugst-utl.c $(CC) $(CC_OPT) -c ../utl/ugst-utl.c# The *original* parallel-form log-PCM demopcmdemo: pcmdemo.exepcmdemo.exe: pcmdemo.obj iir-g712.obj $(OBJ_FILES) $(CC) $(CC_OPT) -o pcmdemo pcmdemo.obj iir-g712.obj $(OBJ_FILES)# Bellcore IRS proposed for the 8kbit/s qualification test plancirsdemo: cirsdemo.execirsdemo.exe: cirsdemo.obj iir-irs.obj $(OBJ_FILES) $(CC) $(CC_OPT) -o cirsdemo cirsdemo.obj iir-irs.obj $(OBJ_FILES)# Bellcore G.712 proposed for the 8kbit/s qualification test planc712demo: c712demo.exec712demo.exe: cascg712.obj c712demo.obj $(OBJ_FILES) $(CC) $(CC_OPT) -o c712demo c712demo.obj cascg712.obj $(OBJ_FILES)# Direct-form object moduleiir-dir.obj: iir-dir.c# ------------------------------------------------# Testing the portability of the implementation!# Note: there are no compliance test vectors associated with the IIR module# ------------------------------------------------test: proc compproc: test.src $(PCM) test.src testg712.100 1_1 0 0 $(PCM) test.src testg712.u00 1_2 0 0 $(PCM) test.src testg712.d00 2_1 0 0 $(PCM) test.src testg712.010 0 1_1 0 $(PCM) test.src testg712.0u0 0 1_2 0 $(PCM) test.src testg712.0d0 0 2_1 0 $(PCM) test.src testg712.001 0 0 1_1 $(PCM) test.src testg712.00u 0 0 1_2 $(PCM) test.src testg712.00d 0 0 2_1 $(IRS) test.src iir-irs.flt $(CASC_G712) test.src cascg712.fltcomp: cascg712.ref $(CF) testpcm1.ref testg712.100 $(CF_OPT) $(CF) testpcmu.ref testg712.u00 $(CF_OPT) $(CF) testpcmd.ref testg712.d00 $(CF_OPT) $(CF) testg712.100 testg712.010 $(CF_OPT) $(CF) testg712.u00 testg712.0u0 $(CF_OPT) $(CF) testg712.d00 testg712.0d0 $(CF_OPT) $(CF) testg712.100 testg712.001 $(CF_OPT) $(CF) testg712.u00 testg712.00u $(CF_OPT) $(CF) testg712.d00 testg712.00d $(CF_OPT) $(CF) iir-irs.ref iir-irs.flt $(CF_OPT) $(CF) cascg712.ref cascg712.flt $(CF_OPT)test.src: $(UNZIP) test-iir.zip test.src swapover test.src# $(UNZIP) -v test-iir.zip test.src | $(AWK) $(AWK_CMD) | commandcascg712.ref: $(UNZIP) test-iir.zip $(CASC_REF) swapover $(CASC_REF)# $(UNZIP) -v test-iir.zip *.ref | $(AWK) $(AWK_CMD) | command
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -