]> git.saurik.com Git - wxWidgets.git/blob - src/stc/makefile.wat
compilation fix for yet another broken version of mingw (ENSESSION_LOGOFF not defined)
[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 LexAsm.obj &
35 LexBaan.obj &
36 LexBullant.obj &
37 LexMatlab.obj &
38 LexCPP.obj &
39 LexConf.obj &
40 LexCrontab.obj &
41 LexCSS.obj &
42 LexEiffel.obj &
43 LexFortran.obj &
44 LexHTML.obj &
45 LexLisp.obj &
46 LexLua.obj &
47 LexOthers.obj &
48 LexPOV.obj &
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 &
64 XPM.obj &
65 PlatWX.obj &
66 ScintillaWX.obj &
67 stc.obj
68
69 all: $(STCLIB) .SYMBOLIC
70
71 $(STCLIB): $(OBJECTS)
72 *wlib /b /c /n /P=256 $(STCLIB) $(OBJECTS)
73
74 clean: .SYMBOLIC
75 -erase *.obj
76 -erase *.bak
77 -erase *.err
78 -erase *.pch
79 -erase $(STCLIB)
80 -erase *.lbc
81
82 .EXTENSIONS: .cxx
83 .cxx: $(S)
84
85 .cxx.obj:
86 $(CXX) $[*.cxx $(CXXFLAGS) $(STCEXTRACPPFLAGS)
87
88