Lines 1-24
Link Here
|
1 |
--- makefile.orig 2017-08-16 07:34:01 UTC |
1 |
--- makefile.orig 2018-04-10 01:38:39 UTC |
2 |
+++ makefile |
2 |
+++ makefile |
3 |
@@ -9,17 +9,7 @@ |
3 |
@@ -11,9 +11,7 @@ |
4 |
srcdir ?= . |
4 |
srcdir ?= . |
5 |
|
5 |
|
6 |
.SUFFIXES: .cxx .c .o .h .a .list |
6 |
ifdef CLANG |
7 |
-ifdef CLANG |
|
|
8 |
-CXX = clang++ |
7 |
-CXX = clang++ |
9 |
CXXWARNFLAGS = -Wall -pedantic -Wno-deprecated-register -Wno-missing-braces |
8 |
CXXWARNFLAGS = -Wall -pedantic -Wno-deprecated-register -Wno-missing-braces |
10 |
-CC = clang |
9 |
-CC = clang |
11 |
-# Can choose aspect to sanitize: address and undefined can simply change SANITIZE but for |
10 |
# Can choose aspect to sanitize: address and undefined can simply change SANITIZE but for |
12 |
-# thread also need to create Position Independent Executable -> search online documentation |
11 |
# thread also need to create Position Independent Executable -> search online documentation |
13 |
-SANITIZE = address |
12 |
SANITIZE = address |
14 |
-#SANITIZE = undefined |
13 |
@@ -49,7 +47,12 @@ DEL = del /q |
15 |
-else |
|
|
16 |
-CXXWARNFLAGS = -Wall -pedantic |
17 |
-endif |
18 |
ARFLAGS = rc |
19 |
RANLIB = touch |
20 |
|
21 |
@@ -48,7 +38,12 @@ DEL = del /q |
22 |
COMPLIB=$(srcdir)\..\bin\scintilla.a |
14 |
COMPLIB=$(srcdir)\..\bin\scintilla.a |
23 |
else |
15 |
else |
24 |
DEL = rm -f |
16 |
DEL = rm -f |
Lines 32-47
Link Here
|
32 |
endif |
24 |
endif |
33 |
|
25 |
|
34 |
vpath %.h $(srcdir) $(srcdir)/../src $(srcdir)/../include $(srcdir)/../lexlib |
26 |
vpath %.h $(srcdir) $(srcdir)/../src $(srcdir)/../include $(srcdir)/../lexlib |
35 |
@@ -101,7 +96,7 @@ GLIB_GENMARSHAL_FLAGS = --prefix=scintil |
27 |
@@ -87,7 +90,7 @@ CXXTFLAGS:=--std=gnu++17 $(CTFLAGS) $(RE |
|
|
28 |
CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION)) |
29 |
MARSHALLER=scintilla-marshal.o |
36 |
|
30 |
|
37 |
LEXOBJS:=$(addsuffix .o,$(basename $(sort $(notdir $(wildcard $(srcdir)/../lexers/Lex*.cxx))))) |
|
|
38 |
|
39 |
-all: $(COMPLIB) |
31 |
-all: $(COMPLIB) |
40 |
+all: $(COMPLIB) $(LEXRLIB) |
32 |
+all: $(COMPLIB) $(LEXRLIB) |
41 |
|
33 |
|
42 |
clean: |
34 |
clean: |
43 |
$(DEL) *.o $(COMPLIB) *.plist |
35 |
$(DEL) *.o $(COMPLIB) *.plist |
44 |
@@ -122,9 +117,11 @@ $(COMPLIB): Accessor.o CharacterSet.o De |
36 |
@@ -123,9 +126,11 @@ $(COMPLIB): Accessor.o CharacterSet.o De |
45 |
PropSetSimple.o PlatGTK.o \ |
37 |
PropSetSimple.o PlatGTK.o \ |
46 |
KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o ScintillaGTKAccessible.o CellBuffer.o CharacterCategory.o ViewStyle.o \ |
38 |
KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o ScintillaGTKAccessible.o CellBuffer.o CharacterCategory.o ViewStyle.o \ |
47 |
RESearch.o RunStyles.o Selection.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o \ |
39 |
RESearch.o RunStyles.o Selection.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o \ |