forked from KolibriOS/kolibrios
Implement autobuild for(this libs in [`programs/develop/ktcc/bin/lib/`](https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/programs/develop/ktcc/bin/lib)): + `crt0.o` + `libtcc1.a` + `tiny.o` + `libshell.a` + `libcryptal.a` + `libsound.a` it autobuild for kolibrios image and programs build. `link_tcc` automatically add this libs to `extra_inputs` roots of this grow from #311 --------- Co-authored-by: Burer <burer@kolibrios.org> Reviewed-on: KolibriOS/kolibrios#339 Reviewed-by: Burer <burer@kolibrios.org> Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com> Co-authored-by: Егор <y.yarin@inbox.ru> Co-committed-by: Егор <y.yarin@inbox.ru>
26 lines
468 B
Lua
26 lines
468 B
Lua
if tup.getconfig("NO_TCC") ~= "" or tup.getconfig("NO_FASM") ~= "" then return end
|
|
if tup.getconfig("HELPERDIR") == ""
|
|
then
|
|
HELPERDIR = "../../../programs"
|
|
end
|
|
tup.include(HELPERDIR .. "/use_tcc.lua")
|
|
|
|
SRCS = {
|
|
"cloud.c",
|
|
"game_over_panel.c",
|
|
"horizon.c",
|
|
"main.c",
|
|
"obstacle.c",
|
|
"trex.c",
|
|
"distance_meter.c",
|
|
"graphics.c",
|
|
"horizon_line.c",
|
|
"misc.c",
|
|
"runner.c",
|
|
"ulist.c"
|
|
}
|
|
|
|
LIBS = " -limg"
|
|
|
|
link_tcc(SRCS, "dino");
|