kolibrios/contrib/other/jumpnbump/sdl/Tupfile.lua
maxcodehack 3117bdc927 Add zlib and jumpnbump to autobuild
git-svn-id: svn://kolibrios.org@8527 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-08 11:06:19 +00:00

12 lines
583 B
Lua
Executable File

if tup.getconfig("NO_GCC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_gcc.lua")
tup.include(HELPERDIR .. "/use_newlib.lua")
tup.include(HELPERDIR .. "/use_sdl_newlib.lua")
CFLAGS = CFLAGS .. " -DNDEBUG -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -DUSE_SDL"
INCLUDES = INCLUDES .. " -I.."
compile_gcc{"gfx.c", "input.c", "interrpt.c", "sound.c"}
tup.rule(OBJS, "kos32-ar rcs %o %f", {"libs.a", "<libs>"})