aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/makefile
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2018-03-08 18:22:00 +1100
committerNeil <nyamatongwe@gmail.com>2018-03-08 18:22:00 +1100
commite77027687d205f0f6059bbb93a79395afc460234 (patch)
treed31a45cf2242a3ef69f346bcf85988165ad443f9 /gtk/makefile
parent5a029aacc6ec8b36949469024a891f0d0fced21e (diff)
downloadscintilla-mirror-e77027687d205f0f6059bbb93a79395afc460234.tar.gz
Create static library libscintilla.a or libscintilla.lib on Windows.
Stop creating Lexers.a static library. Harmonize make files.
Diffstat (limited to 'gtk/makefile')
-rw-r--r--gtk/makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 37ed063c5..f2dd23736 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -6,9 +6,10 @@
# Builds for GTK+ 2 and no longer supports GTK+ 1.
# Also works with ming32-make on Windows.
+.SUFFIXES: .cxx .c .o .h .a .list
+
srcdir ?= .
-.SUFFIXES: .cxx .c .o .h .a .list
ifdef CLANG
CXX = clang++
CXXWARNFLAGS = -Wall -pedantic -Wno-deprecated-register -Wno-missing-braces
@@ -86,6 +87,11 @@ CXXTFLAGS:=--std=gnu++17 $(CTFLAGS) $(REFLAGS)
CONFIGFLAGS:=$(shell pkg-config --cflags $(GTKVERSION))
MARSHALLER=scintilla-marshal.o
+all: $(COMPLIB)
+
+clean:
+ $(DEL) *.o $(COMPLIB) *.plist
+
.cxx.o:
$(CXX) $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) -c $<
.c.o:
@@ -101,11 +107,6 @@ GLIB_GENMARSHAL_FLAGS = --prefix=scintilla_marshal
LEXOBJS:=$(addsuffix .o,$(basename $(sort $(notdir $(wildcard $(srcdir)/../lexers/Lex*.cxx)))))
-all: $(COMPLIB)
-
-clean:
- $(DEL) *.o $(COMPLIB) *.plist
-
analyze:
clang --analyze $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) $(srcdir)/*.cxx $(srcdir)/../src/*.cxx $(srcdir)/../lexlib/*.cxx $(srcdir)/../lexers/*.cxx