#
# 
#
# tmake configuration for Win32/Microsoft C++
#

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= cl
TMAKE_CFLAGS		= -nologo
TMAKE_CFLAGS_WARN_ON	= -W3
TMAKE_CFLAGS_WARN_OFF	= -W0
TMAKE_CFLAGS_RELEASE	= -O2
TMAKE_CFLAGS_DEBUG	= -Zi
TMAKE_CFLAGS_MT		= -MT
TMAKE_CFLAGS_MT_DBG	= -MTd
TMAKE_CFLAGS_MT_DLL	= -MD
TMAKE_CFLAGS_MT_DLLDBG	= -MDd
TMAKE_CFLAGS_YACC	=

TMAKE_CXX		= $$TMAKE_CC
TMAKE_CXXFLAGS		= $$TMAKE_CFLAGS
TMAKE_CXXFLAGS_WARN_ON	= $$TMAKE_CFLAGS_WARN_ON
TMAKE_CXXFLAGS_WARN_OFF	= $$TMAKE_CFLAGS_WARN_OFF
TMAKE_CXXFLAGS_RELEASE	= $$TMAKE_CFLAGS_RELEASE
TMAKE_CXXFLAGS_DEBUG	= $$TMAKE_CFLAGS_DEBUG
TMAKE_CXXFLAGS_MT	= $$TMAKE_CFLAGS_MT
TMAKE_CXXFLAGS_MT_DBG	= $$TMAKE_CFLAGS_MT_DBG
TMAKE_CXXFLAGS_MT_DLL	= $$TMAKE_CFLAGS_MT_DLL
TMAKE_CXXFLAGS_MT_DLLDBG= $$TMAKE_CFLAGS_MT_DLLDBG
TMAKE_CXXFLAGS_YACC	= $$TMAKE_CFLAGS_YACC

TMAKE_INCDIR		=
TMAKE_INCDIR_QT		= $(QTDIR)\include

TMAKE_RUN_CC		= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$obj $src
TMAKE_RUN_CC_IMP	= $(CC) -c $(CFLAGS) $(INCPATH) -Fo$@ $<
TMAKE_RUN_CXX		= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$obj $src
TMAKE_RUN_CXX_IMP	= $(CXX) -c $(CXXFLAGS) $(INCPATH) -Fo$@ $<

TMAKE_LINK		= link
TMAKE_LFLAGS		= /NOLOGO
TMAKE_LFLAGS_RELEASE	=
TMAKE_LFLAGS_DEBUG	= /DEBUG
TMAKE_LFLAGS_CONSOLE	= /SUBSYSTEM:console
TMAKE_LFLAGS_WINDOWS	= /SUBSYSTEM:windows
TMAKE_LFLAGS_CONSOLE_DLL= /SUBSYSTEM:console /DLL
TMAKE_LFLAGS_WINDOWS_DLL= /SUBSYSTEM:windows /DLL
TMAKE_LFLAGS_QT_DLL	= /BASE:0x39D00000

TMAKE_LIBS		=
TMAKE_LIBS_CONSOLE	=
TMAKE_LIBS_WINDOWS	= user32.lib gdi32.lib comdlg32.lib imm32.lib ole32.lib uuid.lib wsock32.lib
TMAKE_LIBS_QT		= $(QTDIR)\lib\qt.lib
TMAKE_LIBS_QT_DLL	= $(QTDIR)\lib\qtmain.lib
TMAKE_LIBS_QT_OPENGL	= $(QTDIR)\lib\qgl.lib
TMAKE_LIBS_OPENGL	= opengl32.lib glu32.lib

TMAKE_MOC		= moc

TMAKE_LIB		= lib /NOLOGO
TMAKE_RC		= rc

TMAKE_ZIP		= zip -r -9
