makefile.nt
上传用户:zhaopin
上传日期:2007-01-07
资源大小:79k
文件大小:2k
源码类别:

语音合成与识别

开发平台:

Visual C++

  1. #
  2. # File: makefile.nt
  3. # Author: Julian Smart
  4. # Created: 1998
  5. # Updated:
  6. # Copyright: (c) 1998, Julian Smart
  7. #
  8. # "%W% %G%"
  9. #
  10. # Makefile : Builds wxWindows SpeechSample example (MS VC++).
  11. # Use FINAL=1 argument to nmake to build final version with no debugging
  12. # info
  13. # Set WXDIR for your system
  14. WXDIR = $(WXWIN)
  15. WXUSINGDLL=0
  16. SPEECHDIR=d:projectscspeech
  17. MSSPEECHINC="e:Microsoft Speech SDKinclude"
  18. SPEECHINC=$(SPEECHDIR)src
  19. SPEECHLIB=$(SPEECHDIR)srccspeech.lib
  20. THISDIR = $(SPEECHDIR)sampleswxsample
  21. EXTRAINC=-I$(SPEECHINC) -I$(MSSPEECHINC)
  22. EXTRALIBS=$(SPEECHLIB) ole32.lib uuid.lib
  23. !include $(WXDIR)srcntwxwin.mak
  24. PROGRAM=SpeechSample
  25. OBJECTS = $(PROGRAM).obj guidseg.obj
  26. $(PROGRAM):    $(PROGRAM).exe
  27. all:    wx $(PROGRAM).exe
  28. wx:
  29.         cd $(WXDIR)srcmsw
  30.         nmake -f makefile.nt FINAL=$(FINAL)
  31.         cd $(THISDIR)
  32. wxclean:
  33.         cd $(WXDIR)srcmsw
  34.         nmake -f makefile.nt clean
  35.         cd $(THISDIR)
  36. $(PROGRAM).exe:      $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res
  37. $(link) @<<
  38. -out:$(PROGRAM).exe
  39. $(LINKFLAGS)
  40. $(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res
  41. $(LIBS)
  42. <<
  43. $(PROGRAM).obj:      $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
  44.         $(cc) @<<
  45. $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
  46. <<
  47. guidseg.obj:      guidseg.$(SRCSUFF)
  48.         $(cc) @<<
  49. $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
  50. <<
  51. $(PROGRAM).res :      $(PROGRAM).rc $(WXDIR)includemswwx.rc
  52.     $(rc) -r /i$(WXDIR)includemsw /i$(WXDIR)contribfafa -fo$@ $(PROGRAM).rc
  53. clean:
  54.         -erase *.obj
  55.         -erase *.exe
  56.         -erase *.res
  57.         -erase *.map
  58.         -erase *.sbr
  59.         -erase *.pdb