makefile.nt
资源名称:cspeech.zip [点击查看]
上传用户:zhaopin
上传日期:2007-01-07
资源大小:79k
文件大小:2k
源码类别:
语音合成与识别
开发平台:
Visual C++
- #
- # File: makefile.nt
- # Author: Julian Smart
- # Created: 1998
- # Updated:
- # Copyright: (c) 1998, Julian Smart
- #
- # "%W% %G%"
- #
- # Makefile : Builds wxWindows SpeechSample example (MS VC++).
- # Use FINAL=1 argument to nmake to build final version with no debugging
- # info
- # Set WXDIR for your system
- WXDIR = $(WXWIN)
- WXUSINGDLL=0
- SPEECHDIR=d:projectscspeech
- MSSPEECHINC="e:Microsoft Speech SDKinclude"
- SPEECHINC=$(SPEECHDIR)src
- SPEECHLIB=$(SPEECHDIR)srccspeech.lib
- THISDIR = $(SPEECHDIR)sampleswxsample
- EXTRAINC=-I$(SPEECHINC) -I$(MSSPEECHINC)
- EXTRALIBS=$(SPEECHLIB) ole32.lib uuid.lib
- !include $(WXDIR)srcntwxwin.mak
- PROGRAM=SpeechSample
- OBJECTS = $(PROGRAM).obj guidseg.obj
- $(PROGRAM): $(PROGRAM).exe
- all: wx $(PROGRAM).exe
- wx:
- cd $(WXDIR)srcmsw
- nmake -f makefile.nt FINAL=$(FINAL)
- cd $(THISDIR)
- wxclean:
- cd $(WXDIR)srcmsw
- nmake -f makefile.nt clean
- cd $(THISDIR)
- $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
- $(link) @<<
- -out:$(PROGRAM).exe
- $(LINKFLAGS)
- $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
- $(LIBS)
- <<
- $(PROGRAM).obj: $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
- $(cc) @<<
- $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
- <<
- guidseg.obj: guidseg.$(SRCSUFF)
- $(cc) @<<
- $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
- <<
- $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)includemswwx.rc
- $(rc) -r /i$(WXDIR)includemsw /i$(WXDIR)contribfafa -fo$@ $(PROGRAM).rc
- clean:
- -erase *.obj
- -erase *.exe
- -erase *.res
- -erase *.map
- -erase *.sbr
- -erase *.pdb