makefile
来自「最强源代码编辑控件」· 代码 · 共 96 行
TXT
96 行
# Make file for Scintilla on Linux or compatible OS# Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org># The License.txt file describes the conditions under which this software may be distributed.# This makefile assumes GCC 3.1 is used and changes will be needed to use other compilers.# GNU make does not like \r\n line endings so should be saved to CVS in binary form.# Builds for GTK+ 2 if available else GTK+ 1.# To force GTK+ 2 build, define GTK2 on the make command line.# To force GTK+ 1 build, define GTK1 on the make command line..SUFFIXES: .cxx .c .o .h .aCC = g++CCOMP = gccAR = arRANLIB = touchifeq ($(shell uname),Darwin)RANLIB = ranlibendifCOMPLIB=../bin/scintilla.avpath %.h ../src ../includevpath %.cxx ../srcINCLUDEDIRS=-I ../include -I ../srcCXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -pedantic -Os -DGTK -DSCI_LEXER $(INCLUDEDIRS)ifdef NOTHREADSTHREADFLAGS=-DG_THREADS_IMPL_NONEelseTHREADFLAGS=endififdef DEBUGCXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS) $(THREADFLAGS)elseCXXFLAGS=-DNDEBUG -Os $(CXXBASEFLAGS) $(THREADFLAGS)endif# If explicit setting of GTK1 or GTK2 then use that else look for# pkg-config which is an OK indication that GTK2 is availableifdef GTK2CONFIGFLAGS=pkg-config --cflags gtk+-2.0MARSHALLER=scintilla-marshal.oelseifdef GTK1CONFIGFLAGS=gtk-config --cflagselseifneq (,$(findstring /,$(shell whereis pkg-config)))CONFIGFLAGS=pkg-config --cflags gtk+-2.0MARSHALLER=scintilla-marshal.oelseCONFIGFLAGS=gtk-config --cflagsendifendifendif.cxx.o: $(CC) `$(CONFIGFLAGS)` $(CXXFLAGS) -c $<.c.o: $(CCOMP) `$(CONFIGFLAGS)` $(CXXFLAGS) -w -c $<#++Autogenerated -- run src/LexGen.py to regenerate#**LEXOBJS=\\\n\(\*.o \)LEXOBJS=\LexAda.o LexAPDL.o LexAsm.o LexAsn1.o LexAU3.o LexAVE.o LexBaan.o LexBash.o \LexBasic.o LexBullant.o LexCaml.o LexCLW.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 LexGui4Cli.o LexHaskell.o LexHTML.o LexInno.o LexKix.o \LexLisp.o LexLout.o LexLua.o LexMatlab.o LexMetapost.o LexMMIXAL.o LexMPT.o \LexMSSQL.o LexNsis.o LexOpal.o LexOthers.o LexPascal.o LexPB.o LexPerl.o \LexPOV.o LexPS.o LexPython.o LexRebol.o LexRuby.o LexScriptol.o LexSmalltalk.o \LexSpecman.o LexSpice.o LexSQL.o LexTADS3.o LexTCL.o LexTeX.o LexVB.o \LexVerilog.o LexVHDL.o LexYAML.o#--Autogenerated -- end of automatically generated sectionall: $(COMPLIB)clean: rm -f *.o $(COMPLIB)deps: $(CC) -MM `$(CONFIGFLAGS)` $(CXXFLAGS) *.cxx ../src/*.cxx >deps.mak$(COMPLIB): DocumentAccessor.o WindowAccessor.o KeyWords.o StyleContext.o \ CharClassify.o Document.o CallTip.o \ ScintillaBase.o ContractionState.o Editor.o ExternalLexer.o PropSet.o PlatGTK.o \ KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o \ RESearch.o Style.o Indicator.o AutoComplete.o UniConversion.o XPM.o \ $(MARSHALLER) $(LEXOBJS) $(AR) rc $@ $^ $(RANLIB) $@# Automatically generate header dependencies with "make deps"include deps.mak
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?