Added DGEN to ISO and create file associatons.
[kolibrios.git] / programs / use_menuetlibc.lua
blobdcb52a0c081ec9507b548f632bc9be8fb091eb70
1 MELIBC = tup.getcwd() .. "/develop/libraries/menuetlibc"
3 INCLUDES = INCLUDES .. " -I" .. MELIBC .. "/include"
4 STARTUP = MELIBC .. "/stub/crt0.o"
5 CFLAGS_c = " -fgnu89-inline"
6 LDFLAGS = LDFLAGS .. string.gsub(" -T$/include/scripts/menuetos_app_v01.ld -L$/lib", "%$", MELIBC)
7 tup.append_table(LIBDEPS, {MELIBC .. "/<libc>", MELIBC .. "/<libm>", MELIBC .. "/<libcpp>"})
8 LIBS = LIBS .. " -lcpp -lm -lc"
10 function use_dynamic_stack()
11 STARTUP = MELIBC .. "/stub/crt0_dynstack.o"
12 end