summaryrefslogtreecommitdiff
path: root/src/cdlua5.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdlua5.mak')
-rw-r--r--src/cdlua5.mak10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cdlua5.mak b/src/cdlua5.mak
index 9f862f8..79cc3f5 100644
--- a/src/cdlua5.mak
+++ b/src/cdlua5.mak
@@ -1,5 +1,5 @@
PROJNAME = cd
-LIBNAME = cdlua51
+LIBNAME = cdlua
OPT = YES
@@ -8,7 +8,13 @@ SRCDIR = lua5
SRC = cdlua5.c cdvoid5.c cdlua5ctx.c cdlua5_active.c cdlua5_canvas.c
DEF_FILE = cdlua5.def
-USE_LUA51 = Yes
+ifdef USE_LUA52
+ LIBNAME := $(LIBNAME)52
+else
+ USE_LUA51 = Yes
+ LIBNAME := $(LIBNAME)51
+endif
+
NO_LUALINK = Yes
USE_CD = YES
CD = ..