summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-24 15:39:24 +0800
committerDeterminant <[email protected]>2015-05-24 15:39:24 +0800
commite21e2d9480c83fee13b2e721417cc04fe8036ced (patch)
treec45e19379badce0815bdbdbd58bc8df27cc5da7d /Makefile
parent0e250c43b62b7593edc163d0510d229010361707 (diff)
add param file implementation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fa323a1..83b0df8 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
.PHONY: all clean luajit
-OBJS := oop_example.o nerv.o luaT.o common.o matrix/mmatrix.o matrix/cumatrix.o matrix/init.o matrix/cukernel.o
+OBJS := oop_example.o nerv.o luaT.o common.o matrix/mmatrix.o matrix/cumatrix.o matrix/init.o matrix/cukernel.o io/init.o io/param.o
LIBS := libnerv.so
-LUA_LIBS := matrix/init.lua nerv.lua class.lua
+LUA_LIBS := matrix/init.lua nerv.lua pl/class.lua pl/utils.lua pl/compat.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/
@@ -24,6 +24,8 @@ $(OBJ_DIR):
-mkdir -p $(OBJ_DIR)
-mkdir -p $(OBJ_DIR)/matrix
-mkdir -p $(LUA_DIR)/matrix
+ -mkdir -p $(OBJ_DIR)/io
+ -mkdir -p $(LUA_DIR)/pl
$(LUA_DIR):
-mkdir -p $(LUA_DIR)
$(OBJ_DIR)/%.o: %.c