kolibrios-fun/programs/develop/cmm/Tupfile.lua
maxcodehack 762358225b C--: clean tupfile.lua
git-svn-id: svn://kolibrios.org@8531 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-09 17:27:55 +00:00

11 lines
409 B
Lua

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")
LDFLAGS = LDFLAGS .. " --stack 0x100000"
CFLAGS = CFLAGS .. " -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -D_KOS_ -U_Win32 -U_WIN32 -U__MINGW32__"
compile_gcc("*.cpp")
link_gcc("cmm")