summaryrefslogtreecommitdiff
path: root/src/imlua5.mak
blob: e1412e5cd7b550bf984a8d701a17773b792808ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
PROJNAME = im
LIBNAME = imlua

OPT = YES
DEFINES = IMLUA_USELOH
USE_LOH_SUBDIR = Yes
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

SRCLUA = lua5/im_image.lua lua5/im_convert.lua
SRCLUADIR = lua5

INCLUDES = lua5

ifdef USE_LUA52
  LIBNAME := $(LIBNAME)52
  LOHDIR = lua5/loh52
else
  USE_LUA51 = Yes
  LIBNAME := $(LIBNAME)51
  LOHDIR = lua5/loh51
endif

USE_IM = YES
NO_LUALINK = Yes
IM = ..