X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f05605ff4db5e401ec235c5b271aa6dc86155f9c..7aabb2acd3db901fcb74b5eef6e62dd95d807d4d:/src/mgl/makewat.env?ds=sidebyside

diff --git a/src/mgl/makewat.env b/src/mgl/makewat.env
index 2a552d4ca9..c80a02fb60 100644
--- a/src/mgl/makewat.env
+++ b/src/mgl/makewat.env
@@ -38,9 +38,11 @@ PRECOMP     = /fh=$(WXDIR)\src\mgl\watcom.pch
 !ifeq FINAL 0
 DEBUGFLAGS     = /D__WXDEBUG__ /d2
 DEBUGINFO   = debug all
+ARCHINCDIR=$(WXDIR)\lib\mgld
 !else
 DEBUGFLAGS     =
 DEBUGINFO   =
+ARCHINCDIR=$(WXDIR)\lib\mgl
 !endif
 
 LEVEL       = 386
@@ -56,7 +58,7 @@ MAXDATA     =
 STACK       = option stack=200k
 LIBS   = $(WXDIR)\lib\wx.lib $(WXDIR)\lib\regex.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\png.lib $(WXDIR)\lib\tiff.lib $(WXDIR)\lib\jpeg.lib &
       $(MGLLIBDIR)\dos4gw\pm.lib $(MGLLIBDIR)\mgl.lib $(MGLLIBDIR)\mglcpp.lib  
-IFLAGS      = -i=$(WXDIR)\lib\mgl;$(WXINC) -i=$(WXDIR)\contrib\include -i=$(%watcom)\h;$(%watcom)\h\dos;$(WXDIR)\src\regex;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\src\tiff
+IFLAGS      = -i=$(ARCHINCDIR);$(WXINC) -i=$(WXDIR)\contrib\include -i=$(%watcom)\h;$(%watcom)\h\dos;$(WXDIR)\src\regex;$(WXDIR)\src\png;$(WXDIR)\src\zlib;$(WXDIR)\src\jpeg;$(WXDIR)\src\tiff
 ;$(MGLROOT)\include
 
 # Here are some possible optimization flags: