]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/stc/makefile.b32
Added extern "C" around winsock and moved it before "wx/msw/private.h"
[wxWidgets.git] / contrib / src / stc / makefile.b32
CommitLineData
5d525ad9
JS
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)\contrib\lib\stc.lib
22
23OBJECTS = \
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
46CFG = stc.cfg
47CPPFLAGS=$(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