]>
Commit | Line | Data |
---|---|---|
ec8b1069 | 1 | # STC makefile for Watcom C++ |
6bc5a867 CE |
2 | |
3 | WXDIR = ..\..\.. | |
4 | ||
6bc5a867 | 5 | SCINTILLA=$(WXDIR)\contrib\src\stc\scintilla |
6bc5a867 | 6 | S=$(SCINTILLA)\src |
6bc5a867 CE |
7 | STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)\include -I$(S) |
8 | ||
ec8b1069 CE |
9 | EXTRACPPFLAGS = -I$(WXDIR)\contrib\include $(STCEXTRACPPFLAGS) |
10 | ||
11 | !include $(WXDIR)\src\makewat.env | |
12 | ||
ddea7eb6 | 13 | STCLIB = $(WXDIR)\lib\stc_w.lib |
6bc5a867 CE |
14 | THISDIR = $(WXDIR)\contrib\src\stc |
15 | OUTPUTDIR = $(THISDIR)\ | |
ec8b1069 | 16 | |
6bc5a867 CE |
17 | |
18 | NAME = stc | |
19 | LNK = $(name).lnk | |
20 | ||
21 | OBJECTS = & | |
22 | AutoComplete.obj & | |
23 | CallTip.obj & | |
24 | CellBuffer.obj & | |
25 | ContractionState.obj & | |
26 | Document.obj & | |
27 | DocumentAccessor.obj & | |
28 | Editor.obj & | |
29 | Indicator.obj & | |
30 | KeyMap.obj & | |
31 | KeyWords.obj & | |
32 | LexAVE.obj & | |
33 | LexAda.obj & | |
9e730a78 | 34 | LexAsm.obj & |
6bc5a867 CE |
35 | LexBaan.obj & |
36 | LexBullant.obj & | |
37 | LexMatlab.obj & | |
38 | LexCPP.obj & | |
39 | LexConf.obj & | |
40 | LexCrontab.obj & | |
9e730a78 | 41 | LexCSS.obj & |
6bc5a867 | 42 | LexEiffel.obj & |
9e730a78 | 43 | LexFortran.obj & |
6bc5a867 CE |
44 | LexHTML.obj & |
45 | LexLisp.obj & | |
46 | LexLua.obj & | |
47 | LexOthers.obj & | |
9e730a78 | 48 | LexPOV.obj & |
6bc5a867 CE |
49 | LexPascal.obj & |
50 | LexPerl.obj & | |
51 | LexPython.obj & | |
52 | LexRuby.obj & | |
53 | LexSQL.obj & | |
54 | LexVB.obj & | |
55 | LineMarker.obj & | |
56 | PropSet.obj & | |
57 | RESearch.obj & | |
58 | ScintillaBase.obj & | |
59 | Style.obj & | |
60 | StyleContext.obj & | |
61 | UniConversion.obj & | |
62 | ViewStyle.obj & | |
63 | WindowAccessor.obj & | |
9e730a78 | 64 | XPM.obj & |
6bc5a867 CE |
65 | PlatWX.obj & |
66 | ScintillaWX.obj & | |
9e730a78 | 67 | stc.obj |
6bc5a867 CE |
68 | |
69 | all: $(STCLIB) .SYMBOLIC | |
70 | ||
71 | $(STCLIB): $(OBJECTS) | |
72 | *wlib /b /c /n /P=256 $(STCLIB) $(OBJECTS) | |
73 | ||
74 | clean: .SYMBOLIC | |
9e730a78 RD |
75 | -erase *.obj |
76 | -erase *.bak | |
77 | -erase *.err | |
78 | -erase *.pch | |
79 | -erase $(STCLIB) | |
95bf19da | 80 | -erase *.lbc |
6bc5a867 CE |
81 | |
82 | .EXTENSIONS: .cxx | |
83 | .cxx: $(S) | |
84 | ||
85 | .cxx.obj: | |
9e730a78 | 86 | $(CXX) $[*.cxx $(CXXFLAGS) $(STCEXTRACPPFLAGS) |
6bc5a867 CE |
87 | |
88 |