]> git.saurik.com Git - wxWidgets.git/blob - contrib/src/stc/makefile.vc
Initial version of wxStyledTextCtrl, a Scintilla wrapper. There is
[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)\Accessor.obj \
19 $(D)\AutoComplete.obj \
20 $(D)\CallTip.obj \
21 $(D)\CellBuffer.obj \
22 $(D)\ContractionState.obj\
23 $(D)\Document.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)\ScintillaBase.obj \
31 $(D)\Style.obj \
32 $(D)\ViewStyle.obj \
33 \
34 $(D)\PlatWX.obj \
35 $(D)\ScintillaWX.obj \
36 $(D)\stc.obj \
37
38
39
40
41 LIBTARGET = $(WXDIR)\contrib\lib\stc$(LIBEXT).lib
42
43 all: $(D) $(LIBTARGET)
44
45 $(D) :
46 mkdir $(D)
47
48 wx:
49 cd $(WXDIR)\src\msw
50 nmake -f makefile.vc FINAL=$(FINAL)
51 cd $(THISDIR)
52
53 wxclean:
54 cd $(WXDIR)\src\msw
55 nmake -f makefile.vc clean
56 cd $(THISDIR)
57
58
59
60
61 $(LIBTARGET): $(OBJECTS)
62 -erase $(LIBTARGET)
63 $(implib) @<<
64 -out:$(LIBTARGET)
65 -machine:$(CPU)
66 $(OBJECTS)
67 <<
68
69
70 $(PROGRAM).exe: $(D)\$(PROGRAM).obj $(DUMMYOBJ) $(WXLIB) $(LIBTARGET) $(PROGRAM).res
71 $(link) @<<
72 -out:$(PROGRAM).exe
73 $(LINKFLAGS)
74 $(DUMMYOBJ) $(D)\$(PROGRAM).obj $(LIBTARGET) $(PROGRAM).res
75 $(LIBS)
76 <<
77
78 $(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc
79 $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc
80
81
82
83 {$(S)}.cxx{$(D)}.obj:
84 $(cc) @<<
85 $(CPPFLAGS) /c /Fo$@ /Tp $<
86 <<
87
88 {}.cpp{$(D)}.obj:
89 $(cc) @<<
90 $(CPPFLAGS) /c /Fo$@ /Tp $<
91 <<
92
93
94 show:
95 @echo $(CPPFLAGS)
96
97
98 clean:
99 -erase $(D)\*.obj
100 -erase *.sbr
101 -erase *.exe
102 -erase *.res
103 -erase *.map
104 -erase *.pdb
105 -erase $(LIBTARGET)
106