]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/stc/makefile.b32
show error message if exec() failed: not pretty but better than nothing
[wxWidgets.git] / contrib / src / stc / makefile.b32
CommitLineData
5d525ad9
JS
1#
2# File: makefile.b32
3# Author: Julian Smart
4# Created: 1999
f6bcfd97 5# Updated:
5d525ad9
JS
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
c19d0121 17
5d525ad9
JS
18S=$(SCINTILLA)\src
19
1a2fb4cd 20STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S)
5d525ad9 21
c19d0121 22LIBTARGET=$(WXDIR)\contrib\lib\stc.lib
5d525ad9
JS
23
24OBJECTS = \
b8b0e402
RD
25 AutoComplete.obj \
26 CallTip.obj \
27 CellBuffer.obj \
28 ContractionState.obj \
29 Document.obj \
30 DocumentAccessor.obj \
31 Editor.obj \
32 Indicator.obj \
33 KeyMap.obj \
34 KeyWords.obj \
35 LexAVE.obj \
36 LexAda.obj \
1a2fb4cd
RD
37 LexBaan.obj \
38 LexBullant.obj \
39 LexMatlab.obj \
b8b0e402
RD
40 LexCPP.obj \
41 LexConf.obj \
42 LexCrontab.obj \
43 LexEiffel.obj \
44 LexHTML.obj \
45 LexLisp.obj \
46 LexLua.obj \
47 LexOthers.obj \
48 LexPascal.obj \
49 LexPerl.obj \
50 LexPython.obj \
51 LexRuby.obj \
52 LexSQL.obj \
53 LexVB.obj \
54 LineMarker.obj \
55 PropSet.obj \
56 RESearch.obj \
57 ScintillaBase.obj \
58 Style.obj \
59 StyleContext.obj \
60 UniConversion.obj \
61 ViewStyle.obj \
62 WindowAccessor.obj \
63 \
64 PlatWX.obj \
65 ScintillaWX.obj \
66 stc.obj \
f6bcfd97 67
32083aa0
RD
68STCCFG = stc.cfg
69STCCPPFLAGS=$(DLL_FLAGS) $(EXTRACPPFLAGS) @$(STCCFG)
5d525ad9 70
32083aa0 71default: $(STCCFG) $(LIBTARGET)
5d525ad9 72
4deae7a0
VZ
73cleancfg:
74 del $(STCCFG)
5d525ad9
JS
75
76{$(S)}.cxx.obj:
32083aa0
RD
77 bcc32 $(STCCPPFLAGS) -P -c {$< }
78
5d525ad9 79
32083aa0
RD
80
81$(STCCFG): makefile.b32
5d525ad9
JS
82 copy &&!
83-H=$(WXDIR)\src\msw\wx32.csm
84-3
85-d
86-a1 # byte alignment
87-R-
88-X
89-w-par
90-w-aus
91-w-hid # virtual function A hides virtual function B
5d525ad9
JS
92-tWM
93
94-I$(WXINC);$(BCCDIR)\include;$(WXDIR)/src/generic;$(WXDIR)/src/png;$(WXDIR)/src/jpeg;$(WXDIR)/src/zlib;$(WXDIR)/src/xpm;$(WXDIR)/src/tiff
4deae7a0
VZ
95-I$(WXDIR)\include\wx\msw\gnuwin32;$(ARCHINCDIR)
96
5d525ad9
JS
97
98-L$(BCCDIR)\lib
99-D__WXWIN__
100-D__WXMSW__
101-D__WINDOWS__
102-DWIN32
103$(OPT)
104$(DEBUG_FLAGS)
105$(WIN95FLAG)
106$(STCEXTRACPPFLAGS)
32083aa0
RD
107! $(STCCFG)
108
109
110!include $(WXDIR)\src\makelib.b32
111
112{$(S)}.cpp.obj:
113 bcc32 $(STCCPPFLAGS) -P -c {$< }
114
115.$(SRCSUFF).obj:
116 bcc32 $(STCCPPFLAGS) -c {$< }
5d525ad9 117