From 15946c21f91169ae18baf761d435d4bf2d45dbfb Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 26 Jan 2016 09:32:49 +0100 Subject: [PATCH] Start moving Lua files to separate dir --- libretro-db/Makefile | 10 +++++----- libretro-db/{ => lua}/dat_converter.lua | 0 libretro-db/{ => lua}/lua_common.c | 0 libretro-db/{ => lua}/lua_common.h | 0 libretro-db/{ => lua}/lua_converter.c | 0 libretro-db/{ => lua}/testlib.c | 0 libretro-db/{ => lua}/tests.lua | 0 7 files changed, 5 insertions(+), 5 deletions(-) rename libretro-db/{ => lua}/dat_converter.lua (100%) rename libretro-db/{ => lua}/lua_common.c (100%) rename libretro-db/{ => lua}/lua_common.h (100%) rename libretro-db/{ => lua}/lua_converter.c (100%) rename libretro-db/{ => lua}/testlib.c (100%) rename libretro-db/{ => lua}/tests.lua (100%) diff --git a/libretro-db/Makefile b/libretro-db/Makefile index f00e29ac85..07bf8c6c31 100644 --- a/libretro-db/Makefile +++ b/libretro-db/Makefile @@ -13,11 +13,11 @@ endif LUA_CONVERTER_C = \ rmsgpack.c \ rmsgpack_dom.c \ - lua_common.c \ + lua/lua_common.c \ libretrodb.c \ bintree.c \ query.c \ - lua_converter.c \ + lua/lua_converter.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_fnmatch.c \ $(LIBRETRO_COMMON_DIR)/file/retro_file.c \ $(LIBRETRO_COMMON_DIR)/compat/compat_strl.c @@ -52,7 +52,7 @@ RARCHDB_TOOL_C = \ RARCHDB_TOOL_OBJS := $(RARCHDB_TOOL_C:.c=.o) TESTLIB_C = \ - testlib.c \ + lua/testlib.c \ query.c \ libretrodb.c \ bintree.c \ @@ -97,8 +97,8 @@ testlib.so: CFLAGS += -fPIC testlib.so: clean $(TESTLIB_OBJS) $(CC) $(INCFLAGS) $(TESTLIB_FLAGS) $(TESTLIB_OBJS) -o $@ -check: testlib.so tests.lua - lua ./tests.lua +check: testlib.so lua/tests.lua + lua ./lua/tests.lua clean: rm -rf $(TARGETS) $(LUA_CONVERTER_OBJS) $(C_CONVERTER_OBJS) $(RARCHDB_TOOL_OBJS) $(RMSGPACK_OBJS) $(TESTLIB_OBJS) testlib.so diff --git a/libretro-db/dat_converter.lua b/libretro-db/lua/dat_converter.lua similarity index 100% rename from libretro-db/dat_converter.lua rename to libretro-db/lua/dat_converter.lua diff --git a/libretro-db/lua_common.c b/libretro-db/lua/lua_common.c similarity index 100% rename from libretro-db/lua_common.c rename to libretro-db/lua/lua_common.c diff --git a/libretro-db/lua_common.h b/libretro-db/lua/lua_common.h similarity index 100% rename from libretro-db/lua_common.h rename to libretro-db/lua/lua_common.h diff --git a/libretro-db/lua_converter.c b/libretro-db/lua/lua_converter.c similarity index 100% rename from libretro-db/lua_converter.c rename to libretro-db/lua/lua_converter.c diff --git a/libretro-db/testlib.c b/libretro-db/lua/testlib.c similarity index 100% rename from libretro-db/testlib.c rename to libretro-db/lua/testlib.c diff --git a/libretro-db/tests.lua b/libretro-db/lua/tests.lua similarity index 100% rename from libretro-db/tests.lua rename to libretro-db/lua/tests.lua