]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.vc
Added includes needed if not using precompiled headers.
[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)\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
71 {$(S)}.cxx{$(D)}.obj:
72 $(cc) @<<
73 $(CPPFLAGS) /c /Fo$@ /Tp $<
74 <<
75
76 {}.cpp{$(D)}.obj:
77 $(cc) @<<
78 $(CPPFLAGS) /c /Fo$@ /Tp $<
79 <<
80
81
82 show:
83 @echo $(CPPFLAGS)
84
85
86 clean:
87 -erase $(D)\*.obj
88 -erase *.sbr
89 -erase *.exe
90 -erase *.res
91 -erase *.map
92 -erase *.pdb
93 -erase $(LIBTARGET)
94