makefile.dos
资源名称:cspeech.zip [点击查看]
上传用户:zhaopin
上传日期:2007-01-07
资源大小:79k
文件大小:2k
源码类别:
语音合成与识别
开发平台:
Visual C++
- #
- # File: makefile.dos
- # Author: Julian Smart
- # Created: 1993
- # Updated:
- # Copyright: (c) 1993, AIAI, University of Edinburgh
- #
- # "%W% %G%"
- #
- # Makefile : Builds minimal example (DOS).
- # Use FINAL=1 argument to nmake to build final version with no debugging
- # info
- WXDIR = $(WXWIN)
- !include $(WXDIR)srcmakemsc.env
- THISDIR = $(WXDIR)samplesminimal
- WXLIB = $(WXDIR)libwx.lib
- LIBS=$(WXLIB) oldnames libw llibcew commdlg shell ddeml
- !ifndef FINAL
- FINAL=0
- !endif
- INC=/I$(WXDIR)includemsw /I$(WXDIR)includebase
- # Set this to nothing if using MS C++ 7
- ZOPTION=/Z7
- !if "$(FINAL)" == "0"
- CPPFLAGS=/AL /W3 /Zi $(ZOPTION) /G2sw /Od /YuWX_PREC.H /Dwx_msw /Fp$(WXDIR)srcmswwx.pch $(INC)
- LINKFLAGS=/NOD /CO /ONERROR:NOEXE /SEG:512
- !else
- CPPFLAGS=/AL /W3 /G2sw /Ox /YuWX_PREC.H /Dwx_msw /Fp$(WXDIR)srcmswwx.pch $(INC)
- LINKFLAGS=/NOD /ONERROR:NOEXE /SEG:512
- !endif
- HEADERS =
- SOURCES = minimal.$(SRCSUFF)
- OBJECTS = minimal.obj
- all: minimal.exe
- wx:
- cd $(WXDIR)srcmsw
- nmake -f makefile.dos FINAL=$(FINAL)
- cd $(THISDIR)
- wxclean:
- cd $(WXDIR)srcmsw
- nmake -f makefile.dos clean
- cd $(THISDIR)
- minimal.exe: $(WXDIR)srcmswdummy.obj $(WXLIB) minimal.obj minimal.def minimal.res
- link $(LINKFLAGS) @<<
- minimal.obj $(WXDIR)srcmswdummy.obj,
- minimal,
- NUL,
- $(LIBS),
- minimal.def
- ;
- <<
- rc -30 -K minimal.res
- minimal.obj: minimal.$(SRCSUFF)
- cl @<<
- $(CPPFLAGS) /c /Tp $*.$(SRCSUFF)
- <<
- minimal.res : minimal.rc $(WXDIR)includemswwx.rc
- rc -r /dFAFA_LIB /i$(WXDIR)contribfafa /i$(WXDIR)includemsw minimal
- clean:
- -erase *.obj
- -erase *.exe
- -erase *.res
- -erase *.map
- -erase *.sbr
- -erase *.pdb