kolibrios-fun/programs/use_menuetlibc.lua
CleverMouse cd74d1af33 switch build system to Tup
git-svn-id: svn://kolibrios.org@5098 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-09-12 15:15:23 +00:00

7 lines
381 B
Lua

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