mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-08-26 20:28:31 +02:00
Release 5.5.1 ( https://www.scintilla.org/scintilla551.zip ) Released 22 July 2024. SCI_CUTALLOWLINE added which is similar to SCI_COPYALLOWLINE but also deletes the copied text. Feature #1518. Can set font used for autocompletion lists with SCI_AUTOCSETSTYLE. Feature #1523. Increase maximum zoom set interactively to +60 points. Feature #1517. Fix flickering cursor after some mouse action sequences. Bug #2443. Release 5.3.3 ( https://www.scintilla.org/lexilla533.zip ) Released 22 July 2024. ASP: Control whether ASP is enabled for XML and HTML with lexer.xml.allow.asp and lexer.html.allow.asp. Issue #252. JavaScript: Recognize regular expressions at start or after '>' in JavaScript when lexer is cpp, hypertext, or xml. Issue #250, Bug #918. JavaScript: Recognize initial #! 'shebang' line as a comment in standalone files. Issue #253. Lua: Fix non-ASCII identifiers joined with '.' or ':'. Issue #242. Lua: Fix folding for multi-line SCE_LUA_LITERALSTRING and SCE_LUA_COMMENT when performed incrementally. Issue #247. PHP: Control whether PHP is enabled for XML and HTML with lexer.xml.allow.php and lexer.html.allow.php. Issue #252. Close #15466
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
.PHONY: all check clean
|
|
|
|
INCLUDES = -I ../../../scintilla/include -I ../../include -I ../../lexlib
|
|
|
|
BASE_FLAGS += --std=c++17
|
|
|
|
ifdef windir
|
|
SHAREDEXTENSION = dll
|
|
else
|
|
ifeq ($(shell uname),Darwin)
|
|
SHAREDEXTENSION = dylib
|
|
BASE_FLAGS += -arch arm64 -arch x86_64
|
|
LINK_FLAGS += -dynamiclib
|
|
else
|
|
BASE_FLAGS += -fPIC
|
|
SHAREDEXTENSION = so
|
|
endif
|
|
BASE_FLAGS += -fvisibility=hidden
|
|
endif
|
|
|
|
ifdef windir
|
|
RM = $(if $(wildcard $(dir $(SHELL))rm.exe), $(dir $(SHELL))rm.exe -f, del /q)
|
|
CXX = g++
|
|
endif
|
|
|
|
LIBRARY = SimpleLexer.$(SHAREDEXTENSION)
|
|
|
|
vpath %.cxx ../../lexlib
|
|
|
|
LEXLIB_SOURCES := $(sort $(notdir $(wildcard ../../lexlib/*.cxx)))
|
|
LEXLIB = $(LEXLIB_SOURCES:.cxx=.o)
|
|
|
|
%.o: %.cxx
|
|
$(CXX) $(INCLUDES) $(BASE_FLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $< -o $@
|
|
|
|
all: $(LIBRARY)
|
|
|
|
# make check requires CheckLexilla to have already been built
|
|
check: $(LIBRARY)
|
|
../CheckLexilla/CheckLexilla ./$(LIBRARY)
|
|
|
|
clean:
|
|
$(RM) *.o *obj *.lib *.exp $(LIBRARY)
|
|
|
|
$(LIBRARY): $(LEXLIB) *.cxx
|
|
$(CXX) $(INCLUDES) $(LINK_FLAGS) $(BASE_FLAGS) -shared $(CPPFLAGS) $(CXXFLAGS) $^ $(LIBS) $(LDLIBS) -o $@
|