ViKing's Port
2012/07/30
Build Lua shared library
/src/Makefile:
CFLAGS = ... -fPIC
LUA_SO = liblua.so
ALL_T = $(LUA_A) $(LUA_T) $(LUAC_T) $(LUA_SO)
$(LUA_SO): $(CORE_O) $(LIB_O)
$(CC) -o $@ -shared $?
/Makefile:
TO_LIB = liblua.a liblua.so
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment