diff options
author | nyamatongwe <devnull@localhost> | 2003-09-21 00:54:21 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-09-21 00:54:21 +0000 |
commit | dd71962b692aa9bbb82af07246ad1340dc067d11 (patch) | |
tree | 74fe057f4a686f3b535475c04dcf4a57deb3a8b2 | |
parent | e64d7b99374cbbd1708483e80af4946879b4177e (diff) | |
download | scintilla-mirror-dd71962b692aa9bbb82af07246ad1340dc067d11.tar.gz |
Creating static library Lexer.a from lexer object files to
work around compiler command line limit.
-rw-r--r-- | win32/makefile | 13 |
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 |