aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--win32/makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/win32/makefile b/win32/makefile
index 939d0f2f8..f3e423010 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -12,6 +12,7 @@ DLLWRAP = dllwrap
COMPONENT = ../bin/Scintilla.dll
LEXCOMPONENT = ../bin/SciLexer.dll
+LEXLIB = Lexers.a
ifndef NOTHUNKS
gversion = $(word 1,$(subst ., ,$(shell g++ --version)))
@@ -38,7 +39,7 @@ endif
.cxx.o:
$(CC) $(CXXFLAGS) -c $<
-ALL: $(COMPONENT) $(LEXCOMPONENT) ScintillaWinS.o WindowAccessor.o
+ALL: $(COMPONENT) $(LEXCOMPONENT) $(LEXLIB) ScintillaWinS.o WindowAccessor.o
clean:
del /q *.exe *.o *.obj *.dll *.res *.map
@@ -51,9 +52,9 @@ deps:
LEXOBJS=\
LexAda.o LexAsm.o LexAVE.o LexBaan.o LexBullant.o LexCLW.o LexConf.o LexCPP.o \
LexCrontab.o LexCSS.o LexEiffel.o LexEScript.o LexFortran.o LexHTML.o \
-LexLisp.o LexLout.o LexLua.o LexMatlab.o LexMMIXAL.o LexNsis.o LexOthers.o \
-LexPascal.o LexPerl.o LexPOV.o LexPS.o LexPython.o LexRuby.o LexScriptol.o \
-LexSQL.o LexVB.o
+LexLisp.o LexLout.o LexLua.o LexMatlab.o LexMMIXAL.o LexMPT.o LexNsis.o \
+LexOthers.o LexPascal.o LexPerl.o LexPOV.o LexPS.o LexPython.o LexRuby.o \
+LexScriptol.o LexSQL.o LexVB.o
#--Autogenerated -- end of automatically generated section
SOBJS = ScintillaWin.o ScintillaBase.o Editor.o Document.o \
@@ -71,6 +72,10 @@ LOBJS = ScintillaWinL.o ScintillaBaseL.o Editor.o Document.o \
$(LEXCOMPONENT): $(LOBJS) Scintilla.def
$(DLLWRAP) --add-stdcall-alias --target i386-mingw32 -o $@ $(LOBJS) $(LDFLAGS) -s --relocatable
+$(LEXLIB): $(LEXOBJS)
+ $(AR) rc $@ $^
+ ranlib $@
+
# Automatically generate dependencies for most files with "make deps"
include deps.mak