aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-06-17 20:26:45 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-06-17 20:26:45 -0400
commita1c4a6f2262133b99d381aa40ab469f949d6ff45 (patch)
tree939487b07663cb8d462a04627ce5aec36d048076
parent102c01ba2db51190c7c79592a6ea2fdb29d4d4fa (diff)
downloadtextadept-a1c4a6f2262133b99d381aa40ab469f949d6ff45.tar.gz
textadept-a1c4a6f2262133b99d381aa40ab469f949d6ff45.zip
Include a lua.a like scintilla-st.a for source compile.
-rw-r--r--src/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 3e44c52a..84108a91 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -21,12 +21,14 @@ all: textadept
$(LUAOBJS): lua/*.c
gcc $(INCLUDEDIRS) -DLUA_USE_LINUX $(CXXFLAGS) -c lua/*.c
+lua.a: $(LUAOBJS)
+ ar rc $@ $^
+ touch $@
.c.o:
g++ $(GTKFLAGS) $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
textadept:\
textadept.o lua_interface.o \
- scintilla-st/gtk/LexLPeg.o scintilla-st/bin/scintilla.a \
- $(LUAOBJS)
+ scintilla-st/gtk/LexLPeg.o scintilla-st/bin/scintilla.a lua.a
g++ $(GTKLIBS) $(EXPORTLUASYMS) -DGTK $^ -o $@
clean:
rm textadept *.o