# Purpose: Watcom environments for wxWindows makefiles.
# Author: Julian Smart and others
# Version: $Id$
+# Changelist: 2003-02-25 - Juergen Ulbts - update from wxWindows 2.5.x/HEAD branch
###############################################################################
# The following environment variables must be set:
# set OUTPUTDIR to the directory to be used for the .obj files created during
# the build (under $WXWIN)
!ifndef OUTPUTDIR
-OUTPUTDIR=$(WXDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom\
+OUTPUTDIR=$(WXDIR)\$(BASEDIRPREFIX)$(CONFIGURATION)Watcom
+# no trailing slash for win98
!endif
!ifneq NOPRECOMP 1
-PRECOMP = /fh=$(OUTPUTDIR)watcom.pch
+PRECOMP = /fh=$(OUTPUTDIR)\watcom.pch
!endif
# the basename of the library
!endif
$(WATLIBDIR)\comctl32.lib &
$(WATLIBDIR)\comdlg32.lib &
+ $(WATLIBDIR)\wsock32.lib &
$(WATLIBDIR)\odbc32.lib &
$(WATLIBDIR)\ole32.lib &
$(WATLIBDIR)\oleaut32.lib &
# NB: /bm switch is needed for thread-safe runtime, if you don't use
# wxThread you may remove it
-CPPFLAGS = /dWIN32 /bm /fo=$(OUTPUTDIR) /fr /zq $(IFLAGS) $(OPTFLAGS) $(WINVERFLAGS) $(EXTRACPPFLAGS)
+CPPFLAGS = /dWIN32 /bm /fo=$(OUTPUTDIR)\ /fr /zq $(IFLAGS) $(OPTFLAGS) $(WINVERFLAGS) $(EXTRACPPFLAGS)
!ifeq wxUSE_GUI 0
CPPFLAGS += /dwxUSE_GUI=0
!endif
defaulttarget: all .SYMBOLIC
erasepch: .SYMBOLIC
- -erase $(OUTPUTDIR)watcom.pch
+ -erase $(OUTPUTDIR)\watcom.pch
+