summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-15 02:47:53 +0800
committerDeterminant <[email protected]>2015-05-15 02:47:53 +0800
commitb0c999e1a840bda032b7616dd1cc45261610e73c (patch)
tree1e87afd00872c000248d895e8e629b4fa6172c79 /Makefile
parentefb786d716363dde8f90ef0672f479790befc79c (diff)
use a global lua file to load others
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 75e1317..0ebb91a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
.PHONY: all clean luajit
OBJS := oop_example.o nerv.o luaT.o common.o matrix/matrix.o matrix/init.o
LIBS := libnerv.so
-LUA_LIBS := matrix/matrix.lua
+LUA_LIBS := matrix/matrix.lua nerv.lua
INCLUDE := -I build/luajit-2.0/include/luajit-2.0/ -DLUA_USE_APICHECK
LDFLAGS := -L luajit-2.0/build/lib/ -llua -lm
CFLAGS :=