]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.vc
Don't complain under MicroWindows if a wxDC's HDC is NULL - it happens
[wxWidgets.git] / 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 LIBTARGET = $(WXDIR)\lib\stc$(LIBEXT).lib
51
52 all: $(D) $(LIBTARGET)
53
54 $(D) :
55 mkdir $(D)
56
57 wx:
58 cd $(WXDIR)\src\msw
59 nmake -f makefile.vc FINAL=$(FINAL)
60 cd $(THISDIR)
61
62 wxclean:
63 cd $(WXDIR)\src\msw
64 nmake -f makefile.vc clean
65 cd $(THISDIR)
66
67
68
69
70 $(LIBTARGET): $(OBJECTS)
71 -erase $(LIBTARGET)
72 $(implib) @<<
73 -out:$(LIBTARGET)
74 -machine:$(CPU)
75 $(OBJECTS)
76 <<
77
78
79
80 {$(S)}.cxx{$(D)}.obj:
81 $(cc) @<<
82 $(CPPFLAGS) /c /Fo$@ /Tp $<
83 <<
84
85 {}.cpp{$(D)}.obj:
86 $(cc) @<<
87 $(CPPFLAGS) /c /Fo$@ /Tp $<
88 <<
89
90
91 show:
92 @echo $(CPPFLAGS)
93
94
95 clean:
96 -erase $(D)\*.obj
97 -erase *.sbr
98 -erase *.exe
99 -erase *.res
100 -erase *.map
101 -erase *.pdb
102 -erase $(LIBTARGET)
103