aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-06-05 00:40:14 +0000
committernyamatongwe <devnull@localhost>2010-06-05 00:40:14 +0000
commit0f9c0475bf11bf43e6ce8fe68e86603dce26b723 (patch)
tree8e006ea3cc54683c8456cc3ccbdc06bd9837aff1
parent1323d126b2124a610c6b46451cc95e29aeb2d8c5 (diff)
downloadscintilla-mirror-0f9c0475bf11bf43e6ce8fe68e86603dce26b723.tar.gz
Using Make functions to avoid regenerating makefile when set of
lexers changed.
-rw-r--r--macosx/makefile17
1 files changed, 1 insertions, 16 deletions
diff --git a/macosx/makefile b/macosx/makefile
index 4a315f159..d5cb12f7e 100644
--- a/macosx/makefile
+++ b/macosx/makefile
@@ -60,22 +60,7 @@ endif
.c.o:
$(CCOMP) $(CXXFLAGS) $(OPTIONS) $(DFLAGS) $(CONTAINER) $(ARCHFLAGS) $(EXT_INPUT) $(INCLUDEDIRS) -w -c $<
-#++Autogenerated -- run src/LexGen.py to regenerate
-#**LEXOBJS=\\\n\(\*.o \)
-LEXOBJS=\
-LexAbaqus.o LexAda.o LexAPDL.o LexAsm.o LexAsn1.o LexASY.o LexAU3.o LexAVE.o \
-LexBaan.o LexBash.o LexBasic.o LexBullant.o LexCaml.o LexCLW.o LexCmake.o \
-LexCOBOL.o LexConf.o LexCPP.o LexCrontab.o LexCsound.o LexCSS.o LexD.o \
-LexEiffel.o LexErlang.o LexEScript.o LexFlagship.o LexForth.o LexFortran.o \
-LexGAP.o LexGui4Cli.o LexHaskell.o LexHTML.o LexInno.o LexKix.o LexLisp.o \
-LexLout.o LexLua.o LexMagik.o LexMarkdown.o LexMatlab.o LexMetapost.o \
-LexMMIXAL.o LexMPT.o LexMSSQL.o LexMySQL.o LexNimrod.o LexNsis.o LexOpal.o \
-LexOthers.o LexPascal.o LexPB.o LexPerl.o LexPLM.o LexPOV.o LexPowerPro.o \
-LexPowerShell.o LexProgress.o LexPS.o LexPython.o LexR.o LexRebol.o LexRuby.o \
-LexScriptol.o LexSmalltalk.o LexSML.o LexSorcus.o LexSpecman.o LexSpice.o \
-LexSQL.o LexTACL.o LexTADS3.o LexTAL.o LexTCL.o LexTeX.o LexVB.o LexVerilog.o \
-LexVHDL.o LexYAML.o
-#--Autogenerated -- end of automatically generated section
+LEXOBJS:=$(addsuffix .o,$(basename $(notdir $(wildcard ../src/Lex*.cxx))))
# The LEXOBJS have to be treated specially as the functions in them are not called from external code