]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.b32
Various compiler changes
[wxWidgets.git] / src / stc / makefile.b32
1 #
2 # File: makefile.b32
3 # Author: Julian Smart
4 # Created: 1999
5 # Updated:
6 # Copyright:
7 #
8 # Makefile : Builds wxMMedia library for 32-bit BC++
9
10 # N.B. use:
11 # make -f makefile.b32 stc.cfg
12 # make -f makefile.b32
13
14 WXDIR = $(WXWIN)
15
16 SCINTILLA=.\scintilla
17 S=$(SCINTILLA)\src
18
19 STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
20
21 LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
22
23 OBJECTS = \
24 Accessor.obj \
25 AutoComplete.obj \
26 CallTip.obj \
27 CellBuffer.obj \
28 ContractionState.obj\
29 Document.obj \
30 Editor.obj \
31 Indicator.obj \
32 KeyMap.obj \
33 KeyWords.obj \
34 LineMarker.obj \
35 PropSet.obj \
36 ScintillaBase.obj \
37 Style.obj \
38 ViewStyle.obj \
39 \
40 PlatWX.obj \
41 ScintillaWX.obj \
42 stc.obj \
43
44 !include $(WXDIR)\src\makelib.b32
45
46 CFG = stc.cfg
47 CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
48
49 {$(S)}.cxx.obj:
50 bcc32 $(CPPFLAGS) -P -c {$< }
51
52 $(CFG): makefile.b32
53 copy &&!
54 -H=$(WXDIR)\src\msw\wx32.csm
55 -3
56 -d
57 -a1 # byte alignment
58 -R-
59 -X
60 -w-par
61 -w-aus
62 -w-hid # virtual function A hides virtual function B
63 -WE
64 -tWM
65
66 -I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
67 -I$(WXDIR)\include\wx\msw\gnuwin32
68
69 -L$(BCCDIR)\lib
70 -D__WXWIN__
71 -D__WXMSW__
72 -D__WINDOWS__
73 -DWIN32
74 $(OPT)
75 $(DEBUG_FLAGS)
76 $(WIN95FLAG)
77 $(STCEXTRACPPFLAGS)
78 ! $(CFG)
79