diff --git a/contrib/src/stc/makefile.b32 b/contrib/src/stc/makefile.b32 index 72a60182ab..0ac8176647 100644 --- a/contrib/src/stc/makefile.b32 +++ b/contrib/src/stc/makefile.b32 @@ -70,6 +70,8 @@ STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG) default: $(STCCFG) $(LIBTARGET) +cleancfg: + del $(STCCFG) {$(S)}.cxx.obj: bcc32 $(STCCPPFLAGS) -P -c {$< } @@ -91,7 +93,8 @@ $(STCCFG): makefile.b32 -tWM -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff --I$(WXDIR)\include\wx\msw\gnuwin32 +-I$(WXDIR)\include\wx\msw\gnuwin32;$(ARCHINCDIR) + -L$(BCCDIR)\lib -D__WXWIN__ diff --git a/distrib/msw/tmake/b32.t b/distrib/msw/tmake/b32.t index 33d29f932e..dc6eaa9ba9 100644 --- a/distrib/msw/tmake/b32.t +++ b/distrib/msw/tmake/b32.t @@ -155,8 +155,6 @@ MSWOBJS = #$ ExpandList("WXMSWOBJS"); HTMLOBJS = #$ ExpandList("WXHTMLOBJS"); OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) -ARCHINCDIR=$(WXDIR)\lib\msw -ARCHSETUPH=$(ARCHINCDIR)\wx\setup.h default: wx diff --git a/src/makeb32.env b/src/makeb32.env index ac8e8f925f..7fb792b653 100644 --- a/src/makeb32.env +++ b/src/makeb32.env @@ -6,6 +6,10 @@ RM= erase WXDIR = $(WXWIN) CFG = $(WXDIR)\src\msw\wxwin32.cfg + +ARCHINCDIR=$(WXDIR)\lib\msw +ARCHSETUPH=$(ARCHINCDIR)\wx\setup.h + # Using a config file isn't compatible across all BC++ versions # LNKCFG=$(WXDIR)\src\msw\bclnk32.cfg WXLIBDIR = $(WXDIR)\lib diff --git a/src/msw/makefile.b32 b/src/msw/makefile.b32 index f100d88dd3..d990bc3129 100644 --- a/src/msw/makefile.b32 +++ b/src/msw/makefile.b32 @@ -377,8 +377,6 @@ HTMLOBJS = $(MSWDIR)\helpctrl.obj \ $(MSWDIR)\winpars.obj OBJECTS = $(COMMONOBJS) $(GENERICOBJS) $(MSWOBJS) $(HTMLOBJS) -ARCHINCDIR=$(WXDIR)\lib\msw -ARCHSETUPH=$(ARCHINCDIR)\wx\setup.h default: wx diff --git a/src/stc/makefile.b32 b/src/stc/makefile.b32 index 72a60182ab..0ac8176647 100644 --- a/src/stc/makefile.b32 +++ b/src/stc/makefile.b32 @@ -70,6 +70,8 @@ STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG) default: $(STCCFG) $(LIBTARGET) +cleancfg: + del $(STCCFG) {$(S)}.cxx.obj: bcc32 $(STCCPPFLAGS) -P -c {$< } @@ -91,7 +93,8 @@ $(STCCFG): makefile.b32 -tWM -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff --I$(WXDIR)\include\wx\msw\gnuwin32 +-I$(WXDIR)\include\wx\msw\gnuwin32;$(ARCHINCDIR) + -L$(BCCDIR)\lib -D__WXWIN__