aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2015-05-25 16:12:15 +0800
committerDeterminant <[email protected]>2015-05-25 16:12:15 +0800
commitf6c23565901561cfe1d7c3c29266ee60ce1f7bdd (patch)
tree11e4498a19248281eb12039143202280a8720b99 /Makefile
parentbe922fa355fe385b45a2720d48eaf0c809e1874a (diff)
...
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 30c91ce..c562e63 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
.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 io/init.o io/param.o
+OBJS := nerv.o luaT.o common.o \
+ matrix/mmatrix.o matrix/cumatrix.o matrix/init.o matrix/cukernel.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
INCLUDE := -I build/luajit-2.0/include/luajit-2.0/ -DLUA_USE_APICHECK
@@ -27,6 +30,7 @@ $(OBJ_DIR):
-mkdir -p $(OBJ_DIR)/io
-mkdir -p $(LUA_DIR)/io
-mkdir -p $(LUA_DIR)/pl
+ -mkdir -p $(OBJ_DIR)/examples
$(LUA_DIR):
-mkdir -p $(LUA_DIR)
$(OBJ_DIR)/%.o: %.c