summaryrefslogtreecommitdiff
path: root/iup/srclua5/iupgl.mak
blob: 6e9f45d899ec0c738a0b8e9a04ad096271d1a07f (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
PROJNAME = iup
LIBNAME = iupluagl51
OPT = YES

DEF_FILE = iupluagl5.def
DEFINES = IUPLUA_USELOH

IUP := ..

# Can not use USE_IUPLUA because Tecmake will include "iupluagl51" in linker

USE_IUP3 = Yes
USE_OPENGL = Yes
LIBS = iuplua51

USE_LUA51 = Yes
NO_LUALINK = Yes

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

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

SRC	= iuplua_glcanvas.c $(GC)