]>
Commit | Line | Data |
---|---|---|
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 | |
9 | WXDIR = $(WXWIN) | |
10 | SCINTILLA=.\scintilla | |
11 | S=$(SCINTILLA)\src | |
1a2fb4cd | 12 | EXTRAINC=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)/include -I$(S) -I. -I$(WXDIR)\contrib\include |
9ce192d4 RD |
13 | NOPCH=1 |
14 | ||
15 | !include $(WXDIR)\src\makevc.env | |
16 | ||
17 | OBJECTS = \ | |
b8b0e402 RD |
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)\LexAVE.obj \ | |
29 | $(D)\LexAda.obj \ | |
9e730a78 | 30 | $(D)\LexAsm.obj \ |
1a2fb4cd RD |
31 | $(D)\LexBaan.obj \ |
32 | $(D)\LexBullant.obj \ | |
33 | $(D)\LexMatlab.obj \ | |
b8b0e402 RD |
34 | $(D)\LexCPP.obj \ |
35 | $(D)\LexConf.obj \ | |
36 | $(D)\LexCrontab.obj \ | |
9e730a78 | 37 | $(D)\LexCSS.obj \ |
b8b0e402 | 38 | $(D)\LexEiffel.obj \ |
9e730a78 | 39 | $(D)\LexFortran.obj \ |
b8b0e402 RD |
40 | $(D)\LexHTML.obj \ |
41 | $(D)\LexLisp.obj \ | |
42 | $(D)\LexLua.obj \ | |
43 | $(D)\LexOthers.obj \ | |
9e730a78 | 44 | $(D)\LexPOV.obj \ |
b8b0e402 RD |
45 | $(D)\LexPascal.obj \ |
46 | $(D)\LexPerl.obj \ | |
47 | $(D)\LexPython.obj \ | |
48 | $(D)\LexRuby.obj \ | |
49 | $(D)\LexSQL.obj \ | |
50 | $(D)\LexVB.obj \ | |
51 | $(D)\LineMarker.obj \ | |
52 | $(D)\PropSet.obj \ | |
53 | $(D)\RESearch.obj \ | |
54 | $(D)\ScintillaBase.obj \ | |
55 | $(D)\Style.obj \ | |
56 | $(D)\StyleContext.obj \ | |
57 | $(D)\UniConversion.obj \ | |
58 | $(D)\ViewStyle.obj \ | |
59 | $(D)\WindowAccessor.obj \ | |
9e730a78 | 60 | $(D)\XPM.obj \ |
9ce192d4 RD |
61 | \ |
62 | $(D)\PlatWX.obj \ | |
63 | $(D)\ScintillaWX.obj \ | |
64 | $(D)\stc.obj \ | |
65 | ||
66 | ||
35820dcb | 67 | LIBTARGET = $(WXDIR)\lib\stc$(LIBEXT).lib |
9ce192d4 RD |
68 | |
69 | all: $(D) $(LIBTARGET) | |
70 | ||
71 | $(D) : | |
72 | mkdir $(D) | |
73 | ||
74 | wx: | |
75 | cd $(WXDIR)\src\msw | |
76 | nmake -f makefile.vc FINAL=$(FINAL) | |
77 | cd $(THISDIR) | |
78 | ||
79 | wxclean: | |
80 | cd $(WXDIR)\src\msw | |
81 | nmake -f makefile.vc clean | |
82 | cd $(THISDIR) | |
83 | ||
84 | ||
85 | ||
86 | ||
87 | $(LIBTARGET): $(OBJECTS) | |
88 | -erase $(LIBTARGET) | |
89 | $(implib) @<< | |
90 | -out:$(LIBTARGET) | |
91 | -machine:$(CPU) | |
92 | $(OBJECTS) | |
93 | << | |
94 | ||
95 | ||
9ce192d4 RD |
96 | |
97 | {$(S)}.cxx{$(D)}.obj: | |
98 | $(cc) @<< | |
99 | $(CPPFLAGS) /c /Fo$@ /Tp $< | |
100 | << | |
101 | ||
102 | {}.cpp{$(D)}.obj: | |
103 | $(cc) @<< | |
104 | $(CPPFLAGS) /c /Fo$@ /Tp $< | |
105 | << | |
106 | ||
107 | ||
108 | show: | |
109 | @echo $(CPPFLAGS) | |
110 | ||
111 | ||
112 | clean: | |
113 | -erase $(D)\*.obj | |
114 | -erase *.sbr | |
115 | -erase *.exe | |
116 | -erase *.res | |
117 | -erase *.map | |
118 | -erase *.pdb | |
119 | -erase $(LIBTARGET) | |
120 |