]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.wat
2.4 -> 2.5; build in another directory than source one; mention --disable-shared
[wxWidgets.git] / src / stc / makefile.wat
1 # STC makefile for Watcom C++
2
3 WXDIR = ..\..\..
4
5 SCINTILLA=$(WXDIR)\contrib\src\stc\scintilla
6 S=$(SCINTILLA)\src
7 STCEXTRACPPFLAGS=-D__WX__ -DSCI_LEXER -DLINK_LEXERS -I$(SCINTILLA)\include -I$(S)
8
9 EXTRACPPFLAGS = -I$(WXDIR)\contrib\include $(STCEXTRACPPFLAGS)
10
11 !include $(WXDIR)\src\makewat.env
12
13 STCLIB = $(WXDIR)\lib\stc_w.lib
14 THISDIR = $(WXDIR)\contrib\src\stc
15 OUTPUTDIR = $(THISDIR)\
16
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
70 -erase *.obj *.bak *.err *.pch $(STCLIB) *.lbc
71
72 .EXTENSIONS: .cxx
73 .cxx: $(S)
74
75 .cxx.obj:
76 $(CXX) $[*.cxx $(CXXFLAGS) $(STCEXTRACPPFLAGS)
77
78