From d83fcc8a3cc94bdf7b5a3f11184f594f9656bdb6 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Wed, 2 Dec 2020 07:02:45 +0000 Subject: [PATCH] Add 'fridge' autobuild git-svn-id: svn://kolibrios.org@8296 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/games/fridge/Tupfile.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 programs/games/fridge/Tupfile.lua diff --git a/programs/games/fridge/Tupfile.lua b/programs/games/fridge/Tupfile.lua new file mode 100755 index 0000000000..b8b35a457d --- /dev/null +++ b/programs/games/fridge/Tupfile.lua @@ -0,0 +1,11 @@ +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 .. " -I ../../../contrib/C_Layer/INCLUDE" +LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj" + +compile_gcc{"fridge.c"} +link_gcc("fridge")