summaryrefslogtreecommitdiff
path: root/iup/srclua5/iupole.mak
blob: 6a3f9ecf0be6fafece42df2f45756cf4cc2d9ed4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PROJNAME = iup
LIBNAME = iupluaole51
OPT = YES
DEF_FILE = iupluaole5.def

IUP := ..

DEFINES = IUPLUA_USELOH

USE_IUPLUA = Yes
LIBS = iupole
USE_LUA51 = Yes
NO_LUALINK = Yes

LOHDIR = loh
SRCLUA = olecontrol.lua
GC = $(addsuffix .c, $(basename $(SRCLUA)))
GC := $(addprefix il_, $(GC))

$(GC) : il_%.c : %.lua generator.lua
	$(LUABIN) generator.lua $<

SRC	= $(GC)