From e21e2d9480c83fee13b2e721417cc04fe8036ced Mon Sep 17 00:00:00 2001 From: Determinant Date: Sun, 24 May 2015 15:39:24 +0800 Subject: add param file implementation --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2