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

TEMPLATE		= app
CONFIG			= qt warn_on release

TMAKE_CC		= wcl386
TMAKE_CFLAGS		= -zq
TMAKE_CFLAGS_WARN_ON	= -w2
TMAKE_CFLAGS_WARN_OFF	= -w0
TMAKE_CFLAGS_RELEASE	= -ox
TMAKE_CFLAGS_DEBUG	= -d2
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_YACC	= $$TMAKE_CFLAGS_YACC

TMAKE_INCDIR		=
TMAKE_INCDIR_QT		= $(QTDIR)\include

TMAKE_RUN_CC		= $(CC) -c $(CFLAGS) $(INCPATH) -fo=$obj $src
TMAKE_RUN_CXX		= $(CXX) -c $(CXXFLAGS) $(INCPATH) -fo=$obj $src

TMAKE_LINK		= wlink
TMAKE_LFLAGS		= op quiet op c
TMAKE_LFLAGS_RELEASE	=
TMAKE_LFLAGS_DEBUG	= d all
TMAKE_LFLAGS_CONSOLE	= sys nt
TMAKE_LFLAGS_WINDOWS	= sys nt_win
TMAKE_LFLAGS_CONSOLE_DLL= sys nt
TMAKE_LFLAGS_WINDOWS_DLL= sys nt_win

TMAKE_LIBS		=
TMAKE_LIBS_CONSOLE	=
TMAKE_LIBS_WINDOWS	=
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

TMAKE_MOC		= moc

TMAKE_LIB		= wlib -b -c -n -q -p=512
TMAKE_RC		= rc

TMAKE_ZIP		= zip -r -9
