10 # Makefile : Builds wxWindows library wx.lib for Windows 3.1
11 # and Borland C++ 3.1. This makefile calls makefile.bcc in msw and
12 # base subdirectories.
15 !error You must define the BCCDIR variable in autoexec.bat, e.g. BCCDIR=d:\bc4
19 !error You must define the WXWIN variable in autoexec.bat, e.g. WXWIN=c:\wx
30 # Change these if needed.
33 !include $(WXDIR)\src\makebcc.env
37 DEBUG_FLAGS= -v /DDEBUG=$(DEBUG) # -v # -v for debugging info
40 DEBUG_FLAGS = /DDEBUG=$(DEBUG)
45 #!if "$(BOR_VER)" == "3.1"
47 #!elif "$(BOR_VER)" == "4"
51 WXBASEINC = $(WXDIR)\include\base
52 WXINC = $(WXDIR)\include\msw
53 PROLOGIOINC = $(WXDIR)\utils\prologio\src
57 make -f makefile.bcc -DCFG=$(CFG) -DWXDIR=$(WXDIR) DEBUG=$(DEBUG) -DDEBUG_FLAGS=$(DEBUG_FLAGS) -DOPT=$(OPT) -DFINAL=$(FINAL)
63 make -f makefile.bcc clean
66 wxwin.cfg: makefile.bcc
68 -H=$(WXDIR)\src\borland.pch
82 -I$(WXBASEINC);$(WXINC);$(PROLOGIOINC);$(BCCDIR)\include;$(WXDIR)\contrib\fafa;$(WXDIR)\contrib\itsybits;$(WXDIR)\utils\rcparser\src
87 !if "$(BOR_VER)" == "3.1"
88 echo -Ff=4 >>wxwin.cfg
89 !elif "$(BOR_VER)" == "4"
90 echo -Ff=512 >>wxwin.cfg