]>
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 | |
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 = \ | |
9ce192d4 RD |
18 | $(D)\AutoComplete.obj \ |
19 | $(D)\CallTip.obj \ | |
20 | $(D)\CellBuffer.obj \ | |
21 | $(D)\ContractionState.obj\ | |
22 | $(D)\Document.obj \ | |
f6bcfd97 | 23 | $(D)\DocumentAccessor.obj\ |
9ce192d4 RD |
24 | $(D)\Editor.obj \ |
25 | $(D)\Indicator.obj \ | |
26 | $(D)\KeyMap.obj \ | |
27 | $(D)\KeyWords.obj \ | |
8de28db9 RD |
28 | $(D)\LineMarker.obj \ |
29 | $(D)\PropSet.obj \ | |
30 | $(D)\RESearch.obj \ | |
31 | $(D)\ScintillaBase.obj \ | |
32 | $(D)\Style.obj \ | |
33 | $(D)\UniConversion.obj \ | |
34 | $(D)\ViewStyle.obj \ | |
35 | $(D)\WindowAccessor.obj \ | |
36 | \ | |
37 | $(D)\LexAda.obj \ | |
38 | $(D)\LexAVE.obj \ | |
39 | $(D)\LexConf.obj \ | |
f6bcfd97 | 40 | $(D)\LexCPP.obj \ |
8de28db9 | 41 | $(D)\LexEiffel.obj \ |
f6bcfd97 | 42 | $(D)\LexHTML.obj \ |
8de28db9 | 43 | $(D)\LexLisp.obj \ |
d134f170 | 44 | $(D)\LexLua.obj \ |
f6bcfd97 | 45 | $(D)\LexOthers.obj \ |
8de28db9 | 46 | $(D)\LexPascal.obj \ |
f6bcfd97 BP |
47 | $(D)\LexPerl.obj \ |
48 | $(D)\LexPython.obj \ | |
8de28db9 | 49 | $(D)\LexRuby.obj \ |
f6bcfd97 BP |
50 | $(D)\LexSQL.obj \ |
51 | $(D)\LexVB.obj \ | |
9ce192d4 RD |
52 | \ |
53 | $(D)\PlatWX.obj \ | |
54 | $(D)\ScintillaWX.obj \ | |
55 | $(D)\stc.obj \ | |
56 | ||
57 | ||
35820dcb | 58 | LIBTARGET = $(WXDIR)\lib\stc$(LIBEXT).lib |
9ce192d4 RD |
59 | |
60 | all: $(D) $(LIBTARGET) | |
61 | ||
62 | $(D) : | |
63 | mkdir $(D) | |
64 | ||
65 | wx: | |
66 | cd $(WXDIR)\src\msw | |
67 | nmake -f makefile.vc FINAL=$(FINAL) | |
68 | cd $(THISDIR) | |
69 | ||
70 | wxclean: | |
71 | cd $(WXDIR)\src\msw | |
72 | nmake -f makefile.vc clean | |
73 | cd $(THISDIR) | |
74 | ||
75 | ||
76 | ||
77 | ||
78 | $(LIBTARGET): $(OBJECTS) | |
79 | -erase $(LIBTARGET) | |
80 | $(implib) @<< | |
81 | -out:$(LIBTARGET) | |
82 | -machine:$(CPU) | |
83 | $(OBJECTS) | |
84 | << | |
85 | ||
86 | ||
9ce192d4 RD |
87 | |
88 | {$(S)}.cxx{$(D)}.obj: | |
89 | $(cc) @<< | |
90 | $(CPPFLAGS) /c /Fo$@ /Tp $< | |
91 | << | |
92 | ||
93 | {}.cpp{$(D)}.obj: | |
94 | $(cc) @<< | |
95 | $(CPPFLAGS) /c /Fo$@ /Tp $< | |
96 | << | |
97 | ||
98 | ||
99 | show: | |
100 | @echo $(CPPFLAGS) | |
101 | ||
102 | ||
103 | clean: | |
104 | -erase $(D)\*.obj | |
105 | -erase *.sbr | |
106 | -erase *.exe | |
107 | -erase *.res | |
108 | -erase *.map | |
109 | -erase *.pdb | |
110 | -erase $(LIBTARGET) | |
111 |