]> git.saurik.com Git - wxWidgets.git/blame - src/stc/makefile.vc
Fixed remaining int vs. long warnings.
[wxWidgets.git] / src / stc / makefile.vc
CommitLineData
9ce192d4
RD
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
9WXDIR = $(WXWIN)
10SCINTILLA=.\scintilla
11S=$(SCINTILLA)\src
12EXTRAINC=-D__WX__ -DSCI_LEXER -I$(SCINTILLA)/include -I$(S) -I. -I$(WXDIR)\contrib\include
13NOPCH=1
14
15!include $(WXDIR)\src\makevc.env
16
17OBJECTS = \
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
41LIBTARGET = $(WXDIR)\contrib\lib\stc$(LIBEXT).lib
42
43all: $(D) $(LIBTARGET)
44
45$(D) :
46 mkdir $(D)
47
48wx:
49 cd $(WXDIR)\src\msw
50 nmake -f makefile.vc FINAL=$(FINAL)
51 cd $(THISDIR)
52
53wxclean:
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
94show:
95 @echo $(CPPFLAGS)
96
97
98clean:
99 -erase $(D)\*.obj
100 -erase *.sbr
101 -erase *.exe
102 -erase *.res
103 -erase *.map
104 -erase *.pdb
105 -erase $(LIBTARGET)
106