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

📄 makefile.unx

📁 Reference Implementation of G.711 standard and other voice codecs
💻 UNX
字号:
# -----------------------------------------------------------------------------# Unix makefile for compiling and testing the # UGST P.56 speech voltmeter.# Executable must be defined by SVP56 and ACTLEV below.## Implemented by <simao@ctd.comsat.com> -- 01.Dec.94# -----------------------------------------------------------------------------# ------------------------------------------------# Choose a file comparison utility: # ------------------------------------------------DIFF = cf -q# ------------------------------------------------# Choose an archiving utility: #	- public domain unzip, or [PC/Unix/VMS]#	- shareware pkunzip [PC only]# ------------------------------------------------#UNZIP = -pkunzipUNZIP = unzip -o# ------------------------------------------------# Choose compiler & options# ------------------------------------------------CC_OPT = -I../utl -g -Wall# ------------------------------------------------# General purpose symbols# ------------------------------------------------#RM = rm -fSVP56 = ./sv56demoACTLEV = ./actlevP56_OBJ = sv-p56.o ugst-utl.o#------------------------------------------------------------------# Implicit rules#------------------------------------------------------------------.c.o:	$(CC) $(CC_OPT) -c $<#------------------------------------------------------------------# Targets and general rules#------------------------------------------------------------------all:: sv56demo actlevanyway: clean allclean:	$(RM) *.ocleantest:	$(RM) voice.nrm voice.ltl voice.prc voice.rms voice.srcveryclean: clean cleantest	$(RM) $(SVP56) $(ACTLEV)#------------------------------------------------------------------# Specific rules#------------------------------------------------------------------sv56demo: sv56demo.o $(P56_OBJ)	$(CC) $(CC_OPT) -o sv56demo sv56demo.o $(P56_OBJ) -lmactlev:	actlevel.o $(P56_OBJ)	$(CC) $(CC_OPT) -o actlev actlevel.o $(P56_OBJ) -lmugst-utl.o: ../utl/ugst-utl.c	$(CC) $(CC_OPT) -c ../utl/ugst-utl.c#------------------------------------------------------------------# Test the implementation# Note: there are no compliance test vectors associated with this module#------------------------------------------------------------------test:	proc compproc:   voice.src voice.nrm	# Process by the speech voltmeter, normalize using active level	$(SVP56) -q voice.src voice.prc 256 1 0 -30	# Process by the speech voltmeter, normalize using long-term RMS level	$(SVP56) -q -rms voice.src voice.rms 256 1 0 -30	# Measure the new file	$(ACTLEV) -q voice.src voice.nrm voice.prc voice.ltl voice.rmscomp:	# Compare with reference - no differences should be found.	$(DIFF) voice.nrm voice.prc	$(DIFF) voice.ltl voice.rms#---------------------------------# Unpack if necessary for testing #---------------------------------voice.nrm:	$(UNZIP) sv56-tst.zip voice.nrm voice.ltl	swapover -if little voice.nrm voice.ltlvoice.src: ../is54/bin/is54-tst.zip	$(UNZIP) ../is54/bin/is54-tst.zip voice.src 	swapover -if little voice.src

⌨️ 快捷键说明

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