⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.djc

📁 Reference Implementation of G.711 standard and other voice codecs
💻 DJC
字号:
# -----------------------------------------------------------------------------#       MSDOS gcc makefile for compiling and testing the UGST IIR module.#	01.Feb.95 - Created - <simao@ctd.comsat.com># -----------------------------------------------------------------------------.SUFFIXES: .c .o # ------------------------------------------------# 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/Unix/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. Sun: use cc. HP: gotta use gcc# ------------------------------------------------ACC = accGCC = gcc -fno-builtinCC_OPT = -g -I../utl -Wall# ------------------------------------------------# General purpose symbols# ------------------------------------------------RM = -rmTEST_FILES = testg712.* cascg712.flt iir-irs.fltCASC_REF=cascg712.ref iir-irs.ref testpcm1.ref testpcmu.ref testpcmd.refOBJ_FILES = iir-lib.o ugst-utl.oPCM = pcmdemoIRS = cirsdemoCASC_G712 = c712demoPCM_EXE = go32 $(PCM)IRS_EXE = go32 $(IRS)CASC_G712_EXE = go32 $(CASC_G712)# ------------------------------------------------# Generic rules# ------------------------------------------------.c.o:	$(CC) $(CC_OPT) -c $<# ------------------------------------------------# Targets# ------------------------------------------------all:: pcmdemo cirsdemo c712demoanyway: clean allclean:	$(RM) *.o cleantest:	$(RM) $(TEST_FILES) $(CASC_REF) test.srcveryclean: clean cleantest	$(RM) pcmdemo cirsdemo c712demo pcmdemo.exe cirsdemo.exe c712demo.exe# ------------------------------------------------# Specific rules# ------------------------------------------------ugst-utl.o: ../utl/ugst-utl.c	$(CC) $(CC_OPT) -c ../utl/ugst-utl.c# The *original* parallel-form log-PCM demopcmdemo: pcmdemo.o iir-g712.o $(OBJ_FILES)	$(CC) $(CC_OPT) -o pcmdemo pcmdemo.o iir-g712.o $(OBJ_FILES)# Bellcore IRS proposed for the 8kbit/s qualification test plancirsdemo: cirsdemo.o iir-irs.o $(OBJ_FILES)	$(CC) $(CC_OPT) -o cirsdemo cirsdemo.o iir-irs.o $(OBJ_FILES)# Bellcore G.712 proposed for the 8kbit/s qualification test planc712demo: cascg712.o c712demo.o $(OBJ_FILES)	$(CC) $(CC_OPT) -o c712demo c712demo.o cascg712.o $(OBJ_FILES)# ------------------------------------------------# Testing the portability of the implementation!# Note: there are no compliance test vectors associated with the IIR module# ------------------------------------------------test:	proc compproc:	test.src	$(PCM_EXE) test.src testg712.100 1_1 0 0	$(PCM_EXE) test.src testg712.u00 1_2 0 0	$(PCM_EXE) test.src testg712.d00 2_1 0 0	$(PCM_EXE) test.src testg712.010 0 1_1 0	$(PCM_EXE) test.src testg712.0u0 0 1_2 0	$(PCM_EXE) test.src testg712.0d0 0 2_1 0	$(PCM_EXE) test.src testg712.001 0 0 1_1	$(PCM_EXE) test.src testg712.00u 0 0 1_2	$(PCM_EXE) test.src testg712.00d 0 0 2_1	$(IRS_EXE) test.src iir-irs.flt	$(CASC_G712_EXE) 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: test-iir.zip	$(UNZIP) test-iir.zip test.src 	swapover test.src#	$(UNZIP) -v test-iir.zip test.src | $(AWK) $(AWK_CMD) | commandcascg712.ref: test-iir.zip	$(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 + -