mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-16 03:42:35 +03:00
12 lines
398 B
Lua
12 lines
398 B
Lua
|
if tup.getconfig("NO_GCC") ~= "" then return end
|
||
|
if tup.getconfig("HELPERDIR") == ""
|
||
|
then
|
||
|
if tup.getconfig("NO_NASM") ~= "" then return end -- required for SDL compilation
|
||
|
HELPERDIR = "../../../../../programs"
|
||
|
end
|
||
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
||
|
tup.include(HELPERDIR .. "/use_menuetlibc.lua")
|
||
|
tup.include(HELPERDIR .. "/use_sdl.lua")
|
||
|
compile_gcc{"fire.c"}
|
||
|
link_gcc("fire")
|