!endif
# set FINAL=1 to disable debug and enable optimizations
+!ifndef FINAL
FINAL=0
+!endif
# set WATCOM_SUFFIX to nothing if you use only Watcom compiler, set it to
# something Watcom-specific if you want to build wxWindows with more than one
ARCHINCDIR=$(WXDIR)\lib\$(TOOLKIT)$(DEBUGSUFFIX)
+# set the things which depend on debug/release
+#
+# note that the values for LIBPAGESIZE are minimal possible, the library
+# doesn't link (Error! Library too large) with values smaller than given
!ifeq FINAL 1
CONFIGURATION=Release
+LIBPAGESIZE=/p=1024
!else
CONFIGURATION=Debug
+LIBPAGESIZE=/p=2048
!endif
# set OUTPUTDIR to the directory to be used for the .obj files created during
LEVEL = 386
CXX = wpp$(LEVEL)
CC = wcc$(LEVEL)
+LIB = wlib /q
RC = wrc
WINVERFLAGS = /dWINVER=0x400
BINDCOMMAND = wrc