kolibrios/programs/games/fridge/Tupfile1.lua
maxcodehack 4ecba4b552 Fix autobuild
git-svn-id: svn://kolibrios.org@8310 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-03 10:18:17 +00:00

12 lines
414 B
Lua
Executable File

if tup.getconfig("NO_GCC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
-- C_Layer
CFLAGS = CFLAGS .. " -std=c99 -I ../../../contrib/C_Layer/INCLUDE"
LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj"
compile_gcc{"fridge.c"}
link_gcc("fridge")