blob: 9b34c08d79e5ec1714bfb1ab381046ae01862d81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Make file for Scintilla on Linux or compatible OS
# Copyright 1998-2000 by Neil Hodgson <neilh@scintilla.org>
# The License.txt file describes the conditions under which this software may be distributed.
# This makefile assumes GCC 2.95.2 is used and changes will
# be needed to use other compilers.
.SUFFIXES: .cxx .o .h .a
CC = g++
AR = ar
COMPLIB=../bin/scintilla.a
vpath %.h ../src ../include
vpath %.cxx ../src
#CXXFLAGS= -g -DGTK -DSCI_LEXER -Wwrite-strings
INCLUDEDIRS=-I ../include -I ../src
CXXFLAGS= -DGTK -DSCI_LEXER
.cxx.o:
$(CC) `gtk-config --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
all: $(COMPLIB)
$(COMPLIB): Accessor.o KeyWords.o Document.o CallTip.o \
ScintillaBase.o ContractionState.o Editor.o PropSet.o PlatGTK.o \
KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o \
Style.o Indicator.o AutoComplete.o
$(AR) rc $@ $^
Accessor.o: Accessor.cxx Platform.h PropSet.h Accessor.h Scintilla.h \
WinDefs.h
AutoComplete.o: AutoComplete.cxx Platform.h AutoComplete.h
CallTip.o: CallTip.cxx Platform.h CallTip.h
CellBuffer.o: CellBuffer.cxx Platform.h Scintilla.h WinDefs.h \
CellBuffer.h
ContractionState.o: ContractionState.cxx Platform.h ContractionState.h
Document.o: Document.cxx Platform.h Scintilla.h WinDefs.h CellBuffer.h \
Document.h
Editor.o: Editor.cxx Platform.h Scintilla.h WinDefs.h \
ContractionState.h CellBuffer.h KeyMap.h Indicator.h LineMarker.h \
Style.h ViewStyle.h Document.h Editor.h
Indicator.o: Indicator.cxx Platform.h Scintilla.h WinDefs.h \
Indicator.h
KeyMap.o: KeyMap.cxx Platform.h Scintilla.h WinDefs.h KeyMap.h
KeyWords.o: KeyWords.cxx Platform.h PropSet.h Accessor.h KeyWords.h \
Scintilla.h WinDefs.h SciLexer.h
LineMarker.o: LineMarker.cxx Platform.h Scintilla.h WinDefs.h \
LineMarker.h
PlatGTK.o: PlatGTK.cxx Platform.h Scintilla.h WinDefs.h
PropSet.o: PropSet.cxx Platform.h PropSet.h
SciTEBase.o: SciTEBase.cxx Platform.h WinDefs.h SciTE.h PropSet.h \
Accessor.h KeyWords.h Scintilla.h SciLexer.h SciTEBase.h
SciTEGTK.o: SciTEGTK.cxx Platform.h WinDefs.h SciTE.h PropSet.h \
Accessor.h KeyWords.h Scintilla.h SciTEBase.h
ScintillaBase.o: ScintillaBase.cxx Platform.h Scintilla.h WinDefs.h \
SciLexer.h PropSet.h Accessor.h KeyWords.h ContractionState.h \
CellBuffer.h CallTip.h KeyMap.h Indicator.h LineMarker.h Style.h \
ViewStyle.h AutoComplete.h Document.h Editor.h ScintillaBase.h
ScintillaGTK.o: ScintillaGTK.cxx Platform.h Scintilla.h WinDefs.h \
SciLexer.h PropSet.h Accessor.h KeyWords.h ContractionState.h \
CellBuffer.h CallTip.h KeyMap.h Indicator.h LineMarker.h Style.h \
AutoComplete.h ViewStyle.h Document.h Editor.h ScintillaBase.h
Style.o: Style.cxx Platform.h Style.h
ViewStyle.o: ViewStyle.cxx Platform.h Scintilla.h WinDefs.h \
Indicator.h LineMarker.h Style.h ViewStyle.h
clean:
rm -f *.o SciTE
|