]>
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 & | |
34 | LexBaan.obj & | |
35 | LexBullant.obj & | |
36 | LexMatlab.obj & | |
37 | LexCPP.obj & | |
38 | LexConf.obj & | |
39 | LexCrontab.obj & | |
40 | LexEiffel.obj & | |
41 | LexHTML.obj & | |
42 | LexLisp.obj & | |
43 | LexLua.obj & | |
44 | LexOthers.obj & | |
45 | LexPascal.obj & | |
46 | LexPerl.obj & | |
47 | LexPython.obj & | |
48 | LexRuby.obj & | |
49 | LexSQL.obj & | |
50 | LexVB.obj & | |
51 | LineMarker.obj & | |
52 | PropSet.obj & | |
53 | RESearch.obj & | |
54 | ScintillaBase.obj & | |
55 | Style.obj & | |
56 | StyleContext.obj & | |
57 | UniConversion.obj & | |
58 | ViewStyle.obj & | |
59 | WindowAccessor.obj & | |
60 | PlatWX.obj & | |
61 | ScintillaWX.obj & | |
62 | stc.obj | |
63 | ||
64 | all: $(STCLIB) .SYMBOLIC | |
65 | ||
66 | $(STCLIB): $(OBJECTS) | |
67 | *wlib /b /c /n /P=256 $(STCLIB) $(OBJECTS) | |
68 | ||
69 | clean: .SYMBOLIC | |
95bf19da CE |
70 | -erase *.obj |
71 | -erase *.bak | |
72 | -erase *.err | |
73 | -erase *.pch | |
74 | -erase $(STCLIB) | |
75 | -erase *.lbc | |
6bc5a867 CE |
76 | |
77 | .EXTENSIONS: .cxx | |
78 | .cxx: $(S) | |
79 | ||
80 | .cxx.obj: | |
ec8b1069 | 81 | $(CXX) $[*.cxx $(CXXFLAGS) $(STCEXTRACPPFLAGS) |
6bc5a867 CE |
82 | |
83 |