]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.vc
REALLY fixed the leak (Dimitri)
[wxWidgets.git] / src / stc / makefile.vc
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
9 WXDIR = $(WXWIN)
10 SCINTILLA=.\scintilla
11 S=$(SCINTILLA)\src
12 EXTRAINC=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) -I. -I$(WXDIR)\contrib\include
13 NOPCH=1
14
15 !include $(WXDIR)\src\makevc.env
16
17 OBJECTS = \
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 \
30 $(D)\LexCPP.obj \
31 $(D)\LexConf.obj \
32 $(D)\LexCrontab.obj \
33 $(D)\LexEiffel.obj \
34 $(D)\LexHTML.obj \
35 $(D)\LexLisp.obj \
36 $(D)\LexLua.obj \
37 $(D)\LexOthers.obj \
38 $(D)\LexPascal.obj \
39 $(D)\LexPerl.obj \
40 $(D)\LexPython.obj \
41 $(D)\LexRuby.obj \
42 $(D)\LexSQL.obj \
43 $(D)\LexVB.obj \
44 $(D)\LineMarker.obj \
45 $(D)\PropSet.obj \
46 $(D)\RESearch.obj \
47 $(D)\ScintillaBase.obj \
48 $(D)\Style.obj \
49 $(D)\StyleContext.obj \
50 $(D)\UniConversion.obj \
51 $(D)\ViewStyle.obj \
52 $(D)\WindowAccessor.obj \
53 \
54 $(D)\PlatWX.obj \
55 $(D)\ScintillaWX.obj \
56 $(D)\stc.obj \
57
58
59 LIBTARGET = $(WXDIR)\lib\stc$(LIBEXT).lib
60
61 all: $(D) $(LIBTARGET)
62
63 $(D) :
64 mkdir $(D)
65
66 wx:
67 cd $(WXDIR)\src\msw
68 nmake -f makefile.vc FINAL=$(FINAL)
69 cd $(THISDIR)
70
71 wxclean:
72 cd $(WXDIR)\src\msw
73 nmake -f makefile.vc clean
74 cd $(THISDIR)
75
76
77
78
79 $(LIBTARGET): $(OBJECTS)
80 -erase $(LIBTARGET)
81 $(implib) @<<
82 -out:$(LIBTARGET)
83 -machine:$(CPU)
84 $(OBJECTS)
85 <<
86
87
88
89 {$(S)}.cxx{$(D)}.obj:
90 $(cc) @<<
91 $(CPPFLAGS) /c /Fo$@ /Tp $<
92 <<
93
94 {}.cpp{$(D)}.obj:
95 $(cc) @<<
96 $(CPPFLAGS) /c /Fo$@ /Tp $<
97 <<
98
99
100 show:
101 @echo $(CPPFLAGS)
102
103
104 clean:
105 -erase $(D)\*.obj
106 -erase *.sbr
107 -erase *.exe
108 -erase *.res
109 -erase *.map
110 -erase *.pdb
111 -erase $(LIBTARGET)
112