]> git.saurik.com Git - wxWidgets.git/blame_incremental - src/stc/makefile.b32
Make easier to compile with MSVC5.
[wxWidgets.git] / src / stc / makefile.b32
... / ...
CommitLineData
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
14WXDIR = $(WXWIN)
15
16SCINTILLA=.\scintilla
17S=$(SCINTILLA)\src
18
19STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S)
20
21LIBTARGET=$(WXDIR)\lib\stc.lib
22
23OBJECTS = \
24 AutoComplete.obj \
25 CallTip.obj \
26 CellBuffer.obj \
27 ContractionState.obj \
28 Document.obj \
29 DocumentAccessor.obj \
30 Editor.obj \
31 Indicator.obj \
32 KeyMap.obj \
33 KeyWords.obj \
34 LexCPP.obj \
35 LexHTML.obj \
36 LexLua.obj \
37 LexOthers.obj \
38 LexPerl.obj \
39 LexPython.obj \
40 LexSQL.obj \
41 LexVB.obj \
42 LineMarker.obj \
43 PropSet.obj \
44 PosRegExp.obj \
45 ScintillaBase.obj \
46 Style.obj \
47 UniConversion.obj \
48 ViewStyle.obj \
49 WindowAccessor.obj \
50 \
51 PlatWX.obj \
52 ScintillaWX.obj \
53 stc.obj \
54
55
56!include $(WXDIR)\src\makelib.b32
57
58all: stc.cfg $(LIBTARGET)
59
60CFG = stc.cfg
61CPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
62
63{$(S)}.cxx.obj:
64 bcc32 $(CPPFLAGS) -P -c {$< }
65
66$(CFG): makefile.b32
67 copy &&!
68-H=$(WXDIR)\src\msw\wx32.csm
69-3
70-d
71-a1 # byte alignment
72-R-
73-X
74-w-par
75-w-aus
76-w-hid # virtual function A hides virtual function B
77-WE
78-tWM
79
80-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
81-I$(WXDIR)\include\wx\msw\gnuwin32
82
83-L$(BCCDIR)\lib
84-D__WXWIN__
85-D__WXMSW__
86-D__WINDOWS__
87-DWIN32
88$(OPT)
89$(DEBUG_FLAGS)
90$(WIN95FLAG)
91$(STCEXTRACPPFLAGS)
92! $(CFG)
93