From 8f1d0172f63116fe1f8fb13a999c48b76015f51a Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Thu, 3 Dec 2020 17:48:03 +0000 Subject: [PATCH] Add /programs/games/fridge to autobuld. git-svn-id: svn://kolibrios.org@8316 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/C_Layer/ASM/Tupfile.lua | 2 +- programs/games/fridge/{Tupfile1.lua => Tupfile.lua} | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) rename programs/games/fridge/{Tupfile1.lua => Tupfile.lua} (54%) diff --git a/contrib/C_Layer/ASM/Tupfile.lua b/contrib/C_Layer/ASM/Tupfile.lua index 880c1d65ac..9f58aa9026 100644 --- a/contrib/C_Layer/ASM/Tupfile.lua +++ b/contrib/C_Layer/ASM/Tupfile.lua @@ -1,2 +1,2 @@ if tup.getconfig("NO_FASM") ~= "" then return end -tup.foreach_rule("*.asm", "fasm %f %o", "../OBJ/%B.obj") +tup.foreach_rule("*.asm", "fasm %f %o", {"../OBJ/%B.o", "../OBJ/"}) diff --git a/programs/games/fridge/Tupfile1.lua b/programs/games/fridge/Tupfile.lua similarity index 54% rename from programs/games/fridge/Tupfile1.lua rename to programs/games/fridge/Tupfile.lua index f102de0b53..2d156f93a7 100755 --- a/programs/games/fridge/Tupfile1.lua +++ b/programs/games/fridge/Tupfile.lua @@ -4,8 +4,10 @@ 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" +CFLAGS = CFLAGS .. " -std=c99 -Wall -Wextra" +INCLUDES = INCLUDES .. " -I../../../contrib/C_Layer/INCLUDE" +table.insert(LIBDEPS, "../../../contrib/C_Layer/OBJ/") +LIBS = LIBS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.o" compile_gcc{"fridge.c"} link_gcc("fridge")