mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-30 20:53:08 +03:00
4ca88acc25
- Move sysxtree and mfar to outdated git-svn-id: svn://kolibrios.org@8524 a494cfbc-eb01-0410-851d-a64ba20cac60
14 lines
413 B
Lua
Executable File
14 lines
413 B
Lua
Executable File
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")
|
|
tup.include(HELPERDIR .. "/use_sdl_newlib.lua")
|
|
|
|
CFLAGS = CFLAGS .. " -std=c99"
|
|
|
|
-- Subsystem native
|
|
LDFLAGS = LDFLAGS .. " --subsystem native"
|
|
|
|
compile_gcc{"SDLTest.c"}
|
|
link_gcc("SDLTest")
|