kolibrios-gitea/contrib/toolchain/avra/src/Tupfile.lua
Serhii Sakhno b26a213fce fix autobuild
git-svn-id: svn://kolibrios.org@8349 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 22:55:16 +00:00

8 lines
404 B
Lua

if tup.getconfig("NO_GCC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
compile_gcc{"args.c", "avra.c", "coff.c", "device.c", "directiv.c", "expr.c", "file.c", "macro.c", "map.c", "mnemonic.c", "parser.c", "stdextra.c"}
link_gcc("avra")