2014-09-12 17:15:23 +02:00
|
|
|
MELIBC = tup.getcwd() .. "/develop/libraries/menuetlibc"
|
|
|
|
|
|
|
|
INCLUDES = INCLUDES .. " -I" .. MELIBC .. "/include"
|
2014-09-18 13:46:53 +02:00
|
|
|
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>"})
|
2014-09-12 17:15:23 +02:00
|
|
|
LIBS = LIBS .. " -lcpp -lm -lc"
|
2014-09-18 13:46:53 +02:00
|
|
|
|
|
|
|
function use_dynamic_stack()
|
|
|
|
STARTUP = MELIBC .. "/stub/crt0_dynstack.o"
|
|
|
|
end
|