aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/makefile
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-12-01 16:29:15 +1100
committerNeil <nyamatongwe@gmail.com>2016-12-01 16:29:15 +1100
commitca889782af52078ea8f37cf4f13408994e7e35af (patch)
treee0539e065431908553423bbcfde4e023024093e9 /gtk/makefile
parent246ade9aa14b55994a473bc7c77ef5dbf71a1f95 (diff)
downloadscintilla-mirror-ca889782af52078ea8f37cf4f13408994e7e35af.tar.gz
Sorting list of lexers for 'make deps' to minimize changes.
Rerun make deps to cover recntly added files.
Diffstat (limited to 'gtk/makefile')
-rw-r--r--gtk/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 1b6659fc0..5a4fa8231 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -106,9 +106,12 @@ clean:
analyze:
clang --analyze $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) $(srcdir)/*.cxx $(srcdir)/../src/*.cxx $(srcdir)/../lexlib/*.cxx $(srcdir)/../lexers/*.cxx
+# To minimize deltas, including between Unix and Windows, the lexer file names are sorted case-insensitively
+LEXSORTED=$(shell ls $(srcdir)/../lexers/Lex*.cxx | sort -f)
+DEPSRCS=$(srcdir)/*.cxx $(srcdir)/../src/*.cxx $(srcdir)/../lexlib/*.cxx $(LEXSORTED)
deps: deps.mak
deps.mak:
- $(CXX) -MM $(CONFIGFLAGS) $(CXXTFLAGS) $(srcdir)/*.cxx $(srcdir)/../src/*.cxx $(srcdir)/../lexlib/*.cxx $(srcdir)/../lexers/*.cxx | sed -e 's/\/usr.* //' | grep [a-zA-Z] > $@
+ $(CXX) -MM $(CONFIGFLAGS) $(CXXTFLAGS) $(DEPSRCS) | sed -e 's/\/usr.* //' | grep [a-zA-Z] > $@
$(COMPLIB): Accessor.o CharacterSet.o LexerBase.o LexerModule.o LexerSimple.o StyleContext.o WordList.o \
CharClassify.o Decoration.o Document.o PerLine.o Catalogue.o CallTip.o CaseConvert.o CaseFolder.o \