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