aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-26 12:47:22 +0800
committerDeterminant <[email protected]>2015-05-26 12:47:22 +0800
commit8c5246a8794011ca0c25f15643771f031d258594 (patch)
tree42a4f9d87c99ed35d0c6c1eb768f007387c7d851 /Makefile
parent81c115e09f9449ae61c7352edd77c68e9029f2dc (diff)
correct the oop_example
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c562e63..cadbc77 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ OBJS := nerv.o luaT.o common.o \
io/init.o io/param.o \
examples/oop_example.o
LIBS := libnerv.so
-LUA_LIBS := matrix/init.lua io/init.lua nerv.lua pl/utils.lua pl/compat.lua
+LUA_LIBS := matrix/init.lua io/init.lua nerv.lua pl/utils.lua pl/compat.lua layer/init.lua layer/affine.lua
INCLUDE := -I build/luajit-2.0/include/luajit-2.0/ -DLUA_USE_APICHECK
CUDA_BASE := /usr/local/cuda-6.5
CUDA_INCLUDE := -I $(CUDA_BASE)/include/
@@ -30,6 +30,7 @@ $(OBJ_DIR):
-mkdir -p $(OBJ_DIR)/io
-mkdir -p $(LUA_DIR)/io
-mkdir -p $(LUA_DIR)/pl
+ -mkdir -p $(LUA_DIR)/layer
-mkdir -p $(OBJ_DIR)/examples
$(LUA_DIR):
-mkdir -p $(LUA_DIR)