summaryrefslogtreecommitdiff
path: root/src/cdluaim5.mak
blob: 9c39f271f318e3fd7e746c4b6289ac2f50bf28e3 (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
27
28
29
PROJNAME = cd
LIBNAME = cdluaim

OPT = YES

DEF_FILE = cdluaim5.def
SRCDIR = lua5
SRC = cdluaim5.c

ifdef USE_LUA52
  LIBNAME := $(LIBNAME)52
else
  USE_LUA51 = Yes
  LIBNAME := $(LIBNAME)51
endif

USE_CDLUA = YES
USE_IMLUA = YES
NO_LUALINK = Yes
CD = ..

ifneq ($(findstring MacOS, $(TEC_UNAME)), )
  USE_IM = YES
  USE_CD = YES
  USE_IMLUA:=
  USE_CDLUA:=
  INCLUDES += ../include $(IM)/include
  LDIR = ../lib/$(TEC_UNAME) $(IM)/lib/$(TEC_UNAME)
endif