From 8c406e0fc4bebda5501d520f1c177fc48d38cd93 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 1 Apr 2019 14:30:32 +1100 Subject: Switch generation of make dependencies to Python scripts DepGen.py. Dependencies files deps.mak and nmdeps.mak are formatted with one file per line as that makes it easier to examine differences between versions. --- gtk/makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gtk/makefile') diff --git a/gtk/makefile b/gtk/makefile index f2dd23736..4e1dccaa7 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -110,12 +110,8 @@ LEXOBJS:=$(addsuffix .o,$(basename $(sort $(notdir $(wildcard $(srcdir)/../lexer 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) $(DEPSRCS) | sed -e 's/\/usr.* //' | grep [a-zA-Z] > $@ +depend deps.mak: + python DepGen.py $(COMPLIB): Accessor.o CharacterSet.o DefaultLexer.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 \ -- cgit v1.2.3