summaryrefslogtreecommitdiff
path: root/iup/srclua5/config.mak
blob: 7979f0ecf3c6eb41832b9c6eaa7b6d7c450c00dd (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
30
31
PROJNAME = iup
LIBNAME  = iuplua51
OPT = YES
DEF_FILE = iuplua5.def

DEFINES = IUPLUA_USELOH

USE_LUA51 = Yes
NO_LUALINK = Yes

INCLUDES = ../include ../src
LDIR = ../lib/$(TEC_UNAME)  
LIBS = iup

CTRLUA = button.lua canvas.lua dialog.lua colordlg.lua clipboard.lua \
       filedlg.lua fill.lua frame.lua hbox.lua normalizer.lua \
       item.lua image.lua imagergb.lua imagergba.lua label.lua \
       menu.lua multiline.lua list.lua separator.lua user.lua \
       submenu.lua text.lua toggle.lua vbox.lua zbox.lua timer.lua \
       sbox.lua spin.lua spinbox.lua cbox.lua messagedlg.lua \
       radio.lua val.lua tabs.lua fontdlg.lua tree.lua progressbar.lua

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

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

SRC = iuplua.c iuplua_api.c il_tree_aux.c il_scanf.c il_getparam.c il_getcolor.c $(GC)