blob: a780dddea838da8507d84a6d1eff8f34976b01fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --git a/makefile b/makefile
index 1a5a145..50912f0 100644
--- a/makefile
+++ b/makefile
@@ -45,7 +45,7 @@ OBJS= src/lxplib.o
lib: src/$(LIBNAME)
src/$(LIBNAME) : $(OBJS)
- $(CC) $(CFLAGS) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
+ $(CC) $(LDFLAGS) $(CFLAGS) -fPIC -std=gnu99 -ansi -I$(LUA_INC) -I$(EXPAT_INC) -o src/$(LIBNAME) $(LIB_OPTION) $(OBJS) -lexpat
install:
mkdir -p $(LUA_LIBDIR)
@@ -53,6 +53,7 @@ install:
cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
mkdir -p $(LUA_DIR)/$T
cp src/$T/lom.lua $(LUA_DIR)/$T
+ cp src/$T/totable.lua $(LUA_DIR)/$T
clean:
rm -f src/$(LIBNAME) $(OBJS)
|