diff options
author | 2008-06-17 20:26:45 -0400 | |
---|---|---|
committer | 2008-06-17 20:26:45 -0400 | |
commit | a1c4a6f2262133b99d381aa40ab469f949d6ff45 (patch) | |
tree | 939487b07663cb8d462a04627ce5aec36d048076 | |
parent | 102c01ba2db51190c7c79592a6ea2fdb29d4d4fa (diff) | |
download | textadept-a1c4a6f2262133b99d381aa40ab469f949d6ff45.tar.gz textadept-a1c4a6f2262133b99d381aa40ab469f949d6ff45.zip |
Include a lua.a like scintilla-st.a for source compile.
-rw-r--r-- | src/Makefile | 6 |
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 |