  CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -pedantic $(INCLUDEDIRS) $(THUNKFLAGS) -fno-rtti -mno-cygwin
  
  ifdef DEBUG
-@@ -38,9 +41,27 @@
+@@ -38,9 +55,27 @@
  STRIPFLAG=-s
  endif
  

 	if (CurrentBuffer()->useMonoFont) {
 		sval = props.GetExpanded("font.monospace");
--- scite-latest/scite/win32/makefile	2009-07-21 11:02:26.000000000 +0000
+++ scintillua/scite/win32/makefile	2010-01-17 15:42:24.000000000 +0000
@@ -5,8 +5,20 @@
 # be needed to use other compilers.
 

 
-LUA_OBJS = LuaExtension.o SingleThreadExtension.o $(LUA_CORE_OBJS) $(LUA_LIB_OBJS)
+LUA_OBJS = LuaExtension.o SingleThreadExtension.o # modified by Mitchell
+LUA_LDFLAGS = -L ../../scintilla/bin -lSciLexer --export-all-symbols
 
 vpath %.c ../lua/src ../lua/src/lib
 
