6 # Copyright: (c) 1993, AIAI, University of Edinburgh
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
54 XPMINC=$(WXDIR)\contrib\wxxpm\libxpm.34b\lib
58 make -f makefile.bcc -DCFG=$(CFG) -DWXDIR=$(WXDIR) DEBUG=$(DEBUG) -DDEBUG_FLAGS=$(DEBUG_FLAGS) -DOPT=$(OPT) -DFINAL=$(FINAL)
64 make -f makefile.bcc clean
67 wxwin.cfg: makefile.bcc
69 -H=$(WXDIR)\src\borland.pch
83 -I$(WXBASEINC);$(WXINC);$(PROLOGIOINC);$(XPMINC);$(BCCDIR)\include;$(WXDIR)\contrib\fafa;$(WXDIR)\contrib\itsybits;$(WXDIR)\utils\rcparser\src
88 !if "$(BOR_VER)" == "3.1"
89 echo -Ff=4 >>wxwin.cfg
90 !elif "$(BOR_VER)" == "4"
91 echo -Ff=512 >>wxwin.cfg