forked from KolibriOS/kolibrios
3117bdc927
git-svn-id: svn://kolibrios.org@8527 a494cfbc-eb01-0410-851d-a64ba20cac60
12 lines
583 B
Lua
Executable File
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>"})
|