aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/src/lexilla.mak
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-01-26 08:15:50 +1100
committerNeil <nyamatongwe@gmail.com>2020-01-26 08:15:50 +1100
commita89841e67888a43625c91e9bf8d6a1ef2ac4f2c4 (patch)
treefaebc8e3ffacf12e5d0a5890cb7c5f6cd8d85d2d /lexilla/src/lexilla.mak
parentb6706ed7be03e06a9c2cce349ff19eb95055c6bd (diff)
downloadscintilla-mirror-a89841e67888a43625c91e9bf8d6a1ef2ac4f2c4.tar.gz
Add version information resource to Lexilla.DLL on Win32.
Lexilla and Scintilla currently share a version number but they may diverge in the future.
Diffstat (limited to 'lexilla/src/lexilla.mak')
-rw-r--r--lexilla/src/lexilla.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/lexilla/src/lexilla.mak b/lexilla/src/lexilla.mak
index 2a7a839c8..93b71cdc3 100644
--- a/lexilla/src/lexilla.mak
+++ b/lexilla/src/lexilla.mak
@@ -193,7 +193,7 @@ LEXILLA_OBJS=\
$(LEXLIB_OBJS) \
$(LEX_OBJS)
-$(LEXILLA): $(LEXILLA_OBJS)
+$(LEXILLA): $(LEXILLA_OBJS) LexillaVersion.res
$(LD) $(LDFLAGS) -DLL -OUT:$@ $** $(LIBS)
$(LIBLEXILLA): $(LEXILLA_OBJS)
@@ -210,6 +210,9 @@ $(LIBLEXILLA): $(LEXILLA_OBJS)
{.}.cxx{$(DIR_O)}.obj::
$(CXX) $(CXXFLAGS) -c $(NAME)$(DIR_O)\ $<
+.rc.res:
+ $(RC) -fo$@ $**
+
# Dependencies
!IF EXISTS(nmdeps.mak)