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

📄 htk_htklib_nt.mkf

📁 该压缩包为最新版htk的源代码,htk是现在比较流行的语音处理软件,请有兴趣的朋友下载使用
💻 MKF
字号:
#
# remember to run VCVARS32.BAT
# makefile for single-threaded HTKLib static library, MSVC
#

.c.obj:
	$(CC) /nologo /c $(CFLAGS) $<
CC=cl
CL=link
CPU=win32

# the MSDOS is needed to set _fmode to binary in HShell.c
HTKCF = /I "." /D "WIN32_AUDIO"  /D ARCH=\"WIN32\"

# use the following for optimised compilation
SYSCF = /ML /W0 /GX /O2 /G5 /Ob2 /D "NDEBUG" /D "WIN32" /D "_WINDOWS"

# use the following for a debug compilation
#SYSCF = /ML /W1 /Gm /GX /Zi /Od /D "_DEBUG" /D "WIN32" /D "_WINDOWS"

CFLAGS = $(SYSCF) $(HTKCF)

# the following is only needed when making a DLL
SYSLF = /nologo /subsystem:windows /dll /incremental:no /machine:I386

# the following is only needed when making a debug DLL
#SYSLF = /DEBUG /DEBUGTYPE:BOTH /nologo /subsystem:windows /dll /incremental:no /machine:I386

# flags used
# /MT  multi-threaded executable
# /ML  single-threaded executable
# /W1  warning level 1
# /GX  synchronous exception handling
# /O2  maximise speed
# /G5  P5 optimisation
# /G6  P6 optimisation
# /Ob2 allow inlining of functions not tagged with _inline

libHTK = HTKLib.$(CPU)
	
syslib = kernel32.lib user32.lib gdi32.lib winspool.lib \
	comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib \
	uuid.lib odbc32.lib odbccp32.lib winmm.lib

libs = $(syslib) 

core =  esig_asc.obj esig_edr.obj esignal.obj esig_nat.obj \ 	HAdapt.obj HAudio.obj HDict.obj HFB.obj HGraf.obj \	HGraf.null.obj HGraf_WIN32.obj HLabel.obj HLat.obj \	HLM.obj HMap.obj HMath.obj HMem.obj HModel.obj HNet.obj \	HParm.obj HRec.obj HShell.obj HSigP.obj HTrain.obj \	HUtil.obj HVQ.obj HWave.obj strarr.obj

all: $(libHTK).lib

$(libHTK).lib:  $(core)
	lib /OUT:$(libHTK).lib $(core)
	lib /list $(libHTK).lib

clean:
	del *.obj $(libHTK).lib

cleanup:
	del *.obj

⌨️ 快捷键说明

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