diff --git a/contrib/C_Layer/ASM/Tupfile.lua b/contrib/C_Layer/ASM/Tupfile.lua index ccbd6456c6..7b47c7b234 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 ../OBJ/%o " .. tup.getconfig("KPACK_CMD"), "../OBJ/%B.obj") +tup.foreach_rule("*.asm", "fasm %f ../OBJ/%o", "../OBJ/%B.obj") diff --git a/programs/games/fridge/Tupfile1.lua b/programs/games/fridge/Tupfile.lua similarity index 65% rename from programs/games/fridge/Tupfile1.lua rename to programs/games/fridge/Tupfile.lua index 993e267655..f102de0b53 100755 --- a/programs/games/fridge/Tupfile1.lua +++ b/programs/games/fridge/Tupfile.lua @@ -3,10 +3,8 @@ HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HEL tup.include(HELPERDIR .. "/use_gcc.lua") tup.include(HELPERDIR .. "/use_newlib.lua") -CFLAGS = "-c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -std=c99" - -- C_Layer -CFLAGS = CFLAGS .. " -I ../../../contrib/C_Layer/INCLUDE" +CFLAGS = CFLAGS .. " -std=c99 -I ../../../contrib/C_Layer/INCLUDE" LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj" compile_gcc{"fridge.c"}