]> git.saurik.com Git - wxWidgets.git/blame - contrib/src/stc/makefile.vc
Fix for potential divide by zero error
[wxWidgets.git] / contrib / src / stc / makefile.vc
CommitLineData
9ce192d4
RD
1# File: makefile.vc For stectrl
2# Author: Robin Dunn
3# Created: 1-Feb-2000
4# Updated:
5
6
7
8# Set WXDIR for your system
9WXDIR = $(WXWIN)
10SCINTILLA=.\scintilla
11S=$(SCINTILLA)\src
1a2fb4cd 12EXTRAINC=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S) -I. -I$(WXDIR)\contrib\include
9ce192d4
RD
13NOPCH=1
14
15!include $(WXDIR)\src\makevc.env
16
17OBJECTS = \
b8b0e402
RD
18 $(D)\AutoComplete.obj \
19 $(D)\CallTip.obj \
20 $(D)\CellBuffer.obj \
21 $(D)\ContractionState.obj \
22 $(D)\Document.obj \
23 $(D)\DocumentAccessor.obj \
24 $(D)\Editor.obj \
25 $(D)\Indicator.obj \
26 $(D)\KeyMap.obj \
27 $(D)\KeyWords.obj \
28 $(D)\LexAVE.obj \
29 $(D)\LexAda.obj \
1a2fb4cd
RD
30 $(D)\LexBaan.obj \
31 $(D)\LexBullant.obj \
32 $(D)\LexMatlab.obj \
b8b0e402
RD
33 $(D)\LexCPP.obj \
34 $(D)\LexConf.obj \
35 $(D)\LexCrontab.obj \
36 $(D)\LexEiffel.obj \
37 $(D)\LexHTML.obj \
38 $(D)\LexLisp.obj \
39 $(D)\LexLua.obj \
40 $(D)\LexOthers.obj \
41 $(D)\LexPascal.obj \
42 $(D)\LexPerl.obj \
43 $(D)\LexPython.obj \
44 $(D)\LexRuby.obj \
45 $(D)\LexSQL.obj \
46 $(D)\LexVB.obj \
47 $(D)\LineMarker.obj \
48 $(D)\PropSet.obj \
49 $(D)\RESearch.obj \
50 $(D)\ScintillaBase.obj \
51 $(D)\Style.obj \
52 $(D)\StyleContext.obj \
53 $(D)\UniConversion.obj \
54 $(D)\ViewStyle.obj \
55 $(D)\WindowAccessor.obj \
9ce192d4
RD
56 \
57 $(D)\PlatWX.obj \
58 $(D)\ScintillaWX.obj \
59 $(D)\stc.obj \
60
61
35820dcb 62LIBTARGET = $(WXDIR)\lib\stc$(LIBEXT).lib
9ce192d4
RD
63
64all: $(D) $(LIBTARGET)
65
66$(D) :
67 mkdir $(D)
68
69wx:
70 cd $(WXDIR)\src\msw
71 nmake -f makefile.vc FINAL=$(FINAL)
72 cd $(THISDIR)
73
74wxclean:
75 cd $(WXDIR)\src\msw
76 nmake -f makefile.vc clean
77 cd $(THISDIR)
78
79
80
81
82$(LIBTARGET): $(OBJECTS)
83 -erase $(LIBTARGET)
84 $(implib) @<<
85-out:$(LIBTARGET)
86-machine:$(CPU)
87$(OBJECTS)
88<<
89
90
9ce192d4
RD
91
92{$(S)}.cxx{$(D)}.obj:
93 $(cc) @<<
94$(CPPFLAGS) /c /Fo$@ /Tp $<
95<<
96
97{}.cpp{$(D)}.obj:
98 $(cc) @<<
99$(CPPFLAGS) /c /Fo$@ /Tp $<
100<<
101
102
103show:
104 @echo $(CPPFLAGS)
105
106
107clean:
108 -erase $(D)\*.obj
109 -erase *.sbr
110 -erase *.exe
111 -erase *.res
112 -erase *.map
113 -erase *.pdb
114 -erase $(LIBTARGET)
115