1
0
kolibrios/programs/use_menuetlibc.lua
CleverMouse 3cf7852e03 autobuild sdlquake
git-svn-id: svn://kolibrios.org@5131 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-18 11:46:53 +00:00

12 lines
461 B
Lua

MELIBC = tup.getcwd() .. "/develop/libraries/menuetlibc"
INCLUDES = INCLUDES .. " -I" .. MELIBC .. "/include"
STARTUP = MELIBC .. "/stub/crt0.o"
LDFLAGS = LDFLAGS .. string.gsub(" -T$/include/scripts/menuetos_app_v01.ld -L$/lib", "%$", MELIBC)
tup.append_table(LIBDEPS, {MELIBC .. "/<libc>", MELIBC .. "/<libm>", MELIBC .. "/<libcpp>"})
LIBS = LIBS .. " -lcpp -lm -lc"
function use_dynamic_stack()
STARTUP = MELIBC .. "/stub/crt0_dynstack.o"
end