aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVan de Bugger <unknown>2016-08-11 14:57:50 +1000
committerVan de Bugger <unknown>2016-08-11 14:57:50 +1000
commit46aebe9a9cc1f55c32cbfe5b9d7c70ed99597da5 (patch)
tree8e8e39995240cf93cf97b194120f5b0bf193942a
parent599fea3bef25e5ee374be2a73833fe1afa440501 (diff)
downloadscintilla-mirror-46aebe9a9cc1f55c32cbfe5b9d7c70ed99597da5.tar.gz
Bug [#1845]. Allow recreating deps.mak if ever deleted.
-rw-r--r--gtk/makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/makefile b/gtk/makefile
index be3214b3c..f75d5ba5e 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -102,8 +102,9 @@ clean:
analyze:
clang --analyze $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx
-deps:
- $(CXX) -MM $(CONFIGFLAGS) $(CXXTFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx | sed -e 's/\/usr.* //' | grep [a-zA-Z] >deps.mak
+deps: deps.mak
+deps.mak:
+ $(CXX) -MM $(CONFIGFLAGS) $(CXXTFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx | 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 \