summaryrefslogtreecommitdiff
path: root/src/cdluaim5.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdluaim5.mak')
-rw-r--r--src/cdluaim5.mak10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/cdluaim5.mak b/src/cdluaim5.mak
index a9f50e0..a169240 100644
--- a/src/cdluaim5.mak
+++ b/src/cdluaim5.mak
@@ -1,5 +1,5 @@
PROJNAME = cd
-LIBNAME = cdluaim51
+LIBNAME = cdluaim
OPT = YES
@@ -7,10 +7,16 @@ DEF_FILE = cdluaim5.def
SRCDIR = lua5
SRC = cdluaim5.c
+ifdef USE_LUA52
+ LIBNAME := $(LIBNAME)52
+else
+ USE_LUA51 = Yes
+ LIBNAME := $(LIBNAME)51
+endif
+
USE_CD = YES
USE_CDLUA = YES
USE_IM = YES
USE_IMLUA = YES
-USE_LUA51 = YES
NO_LUALINK = Yes
CD = ..