From a1c4a6f2262133b99d381aa40ab469f949d6ff45 Mon Sep 17 00:00:00 2001 From: mitchell <70453897+667e-11@users.noreply.github.com> Date: Tue, 17 Jun 2008 20:26:45 -0400 Subject: Include a lua.a like scintilla-st.a for source compile. --- src/Makefile | 6 ++++-- 1 file 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 -- cgit v1.2.3