aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/makefile
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-04-01 14:30:32 +1100
committerNeil <nyamatongwe@gmail.com>2019-04-01 14:30:32 +1100
commit8c406e0fc4bebda5501d520f1c177fc48d38cd93 (patch)
tree5b6c3a459495aad04c73ee1e75ea858eaa05ff7c /win32/makefile
parent7e849320b326d7c8b41d0aadb3beedb57d85766e (diff)
downloadscintilla-mirror-8c406e0fc4bebda5501d520f1c177fc48d38cd93.tar.gz
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.
Diffstat (limited to 'win32/makefile')
-rw-r--r--win32/makefile29
1 files changed, 2 insertions, 27 deletions
diff --git a/win32/makefile b/win32/makefile
index a840cd1a9..149d689b2 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -67,8 +67,8 @@ clean:
analyze:
$(CXX) --analyze $(CXXFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx
-deps:
- $(CXX) -MM $(CXXFLAGS) *.cxx ../src/*.cxx ../lexlib/*.cxx ../lexers/*.cxx >deps.mak
+depend deps.mak:
+ python DepGen.py
LEXOBJS:=$(addsuffix .o,$(basename $(sort $(notdir $(wildcard ../lexers/Lex*.cxx)))))
@@ -141,31 +141,6 @@ $(LIBSCI): ScintillaWin.o $(SCILEXOBJS)
# Automatically generate dependencies for most files with "make deps"
include deps.mak
-# These dependencies are maintained by hand as they do not use the default output name
-
-ScintillaBaseL.o: ScintillaBase.cxx Platform.h \
- ILexer.h Scintilla.h SciLexer.h PropSetSimple.h \
- SplitVector.h Partitioning.h RunStyles.h \
- ContractionState.h CellBuffer.h CallTip.h \
- KeyMap.h Indicator.h XPM.h LineMarker.h \
- Style.h ViewStyle.h AutoComplete.h \
- CharClassify.h Decoration.h Document.h \
- Selection.h PositionCache.h EditModel.h Editor.h EditView.h \
- ScintillaBase.h LexAccessor.h Accessor.h \
- LexerModule.h Catalogue.h CaseFolder.h
-
-ScintillaWinL.o: ScintillaWin.cxx Platform.h \
- ILexer.h Scintilla.h SplitVector.h \
- Partitioning.h RunStyles.h ContractionState.h \
- CellBuffer.h CallTip.h KeyMap.h Indicator.h \
- XPM.h LineMarker.h Style.h AutoComplete.h \
- ViewStyle.h CharClassify.h Decoration.h \
- Document.h Selection.h PositionCache.h \
- EditModel.h Editor.h EditView.h ScintillaBase.h UniConversion.h \
- LexAccessor.h Accessor.h \
- LexerModule.h Catalogue.h CaseConvert.h \
- CaseFolder.h
-
ScintillaBaseL.o:
$(CXX) $(CXXFLAGS) -D SCI_LEXER -c $< -o $@