?? makefile.unx
字號:
# -----------------------------------------------------------------------------# Unix makefile for compiling and testing the UGST IIR module.# 30.Oct.94 - 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 1 CF_OPT = 256 1 30# ------------------------------------------------# Choose an archiving utility: # - public domain unzip, or [PC/Unix/VMS]# - shareware pkunzip [PC only]# ------------------------------------------------#UNZIP = pkunzipUNZIP = unzip -o# Choose compiler. Sun: use cc. HP: gotta use gccACC = accGCC = gcc -fno-builtinCC_OPT = -g -I../utl -Wall# ------------------------------------------------# 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.o ugst-utl.oPCM = ./pcmdemoIRS = ./cirsdemoCASC_G712 = ./c712demo# ------------------------------------------------# 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# ------------------------------------------------# 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)# Direct-form object moduleiir-dir.o: 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 -if little test.srccascg712.ref: $(UNZIP) test-iir.zip $(CASC_REF) swapover -if little $(CASC_REF)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -