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