summaryrefslogtreecommitdiff
path: root/src/imlua5.mak
diff options
context:
space:
mode:
authorscuri <scuri>2010-06-07 21:05:38 +0000
committerscuri <scuri>2010-06-07 21:05:38 +0000
commit4b4a084d456baf4fadd57558970cd21ba88f4394 (patch)
tree18f9cd0cfbd1b8e2130218e26c17d755a1dd1c98 /src/imlua5.mak
parent3ff1d150a13a63db0cefd4cacb0d083254dbc38e (diff)
*** empty log message ***
Diffstat (limited to 'src/imlua5.mak')
-rw-r--r--src/imlua5.mak11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/imlua5.mak b/src/imlua5.mak
index 554b701..031595d 100644
--- a/src/imlua5.mak
+++ b/src/imlua5.mak
@@ -1,8 +1,9 @@
PROJNAME = im
-LIBNAME = imlua51
+LIBNAME = imlua
OPT = YES
+USE_LOH_SUBDIR = Yes
LOHDIR = lua5/loh
SRC = lua5/imlua.c lua5/imlua_aux.c lua5/imlua_convert.c lua5/imlua_file.c lua5/imlua_image.c lua5/imlua_palette.c lua5/imlua_util.c
DEF_FILE = lua5/imlua.def
@@ -12,7 +13,13 @@ SRCLUADIR = lua5
INCLUDES = lua5
+ifdef USE_LUA52
+ LIBNAME := $(LIBNAME)52
+else
+ USE_LUA51 = Yes
+ LIBNAME := $(LIBNAME)51
+endif
+
USE_IM = YES
-USE_LUA51 = YES
NO_LUALINK = Yes
IM = ..