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 CSpeech class library (MS VC++).
- # Use FINAL=1 argument to nmake to build final version with no debugging
- # info
- # Set WXDIR for your system
- WXDIR = $(WXWIN)
- SPEECHDIR = d:projectscspeech
- THISDIR = $(SPEECHDIR)src
- EXTRALIBS=$(SPEECHDIR)libcspeech.lib
- DOCDIR=$(WXDIR)docs
- LOCALDOCDIR=$(WXDIR)utilscspeechdocs
- !include $(WXDIR)srcntwxwin.mak
- PROGRAM=test
- OBJECTS = cspeech.obj
- PROGOBJECTS = $(PROGRAM).obj
- LIBTARGET=$(SPEECHDIR)srccspeech.lib
- all: $(LIBTARGET)
- $(PROGRAM): $(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)
- $(LIBTARGET): $(OBJECTS)
- -erase $(LIBTARGET)
- $(implib) @<<
- -out:$(LIBTARGET)
- -machine:$(CPU)
- $(OBJECTS)
- <<
- $(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(PROGOBJECTS) $(LIBTARGET) $(PROGRAM).res
- $(link) @<<
- -out:$(PROGRAM).exe
- $(LINKFLAGS)
- $(DUMMYOBJ) $(PROGOBJECTS) $(PROGRAM).res
- $(LIBS)
- <<
- cspeech.obj: cspeech.h cspeechp.h cspeech.$(SRCSUFF) $(DUMMYOBJ)
- $(cc) @<<
- $(CPPFLAGS2) /c /Tp $*.$(SRCSUFF)
- <<
- $(PROGRAM).obj: $(PROGRAM).h $(PROGRAM).$(SRCSUFF) $(DUMMYOBJ)
- $(cc) @<<
- $(CPPFLAGS) /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 *.sbr
- -erase *.exe
- -erase *.res
- -erase *.map
- -erase *.pdb
- -erase $(LIBTARGET)