]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/stc/makefile.vc
include needed for CFString conversion routines (param default)
[wxWidgets.git] / contrib / 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 -DLINK_LEXERS -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)\LexBaan.obj \
31 $(D)\LexBullant.obj \
32 $(D)\LexMatlab.obj \
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 \
56 \
57 $(D)\PlatWX.obj \
58 $(D)\ScintillaWX.obj \
59 $(D)\stc.obj \
60
61
62 LIBTARGET = $(WXDIR)\lib\stc$(LIBEXT).lib
63
64 all: $(D) $(LIBTARGET)
65
66 $(D) :
67 mkdir $(D)
68
69 wx:
70 cd $(WXDIR)\src\msw
71 nmake -f makefile.vc FINAL=$(FINAL)
72 cd $(THISDIR)
73
74 wxclean:
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
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
103 show:
104 @echo $(CPPFLAGS)
105
106
107 clean:
108 -erase $(D)\*.obj
109 -erase *.sbr
110 -erase *.exe
111 -erase *.res
112 -erase *.map
113 -erase *.pdb
114 -erase $(LIBTARGET)
115