mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 12:22:35 +03:00
d533c6d771
git-svn-id: svn://kolibrios.org@8298 a494cfbc-eb01-0410-851d-a64ba20cac60
14 lines
519 B
Lua
Executable File
14 lines
519 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")
|
|
|
|
CFLAGS = "-c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32"
|
|
|
|
-- C_Layer
|
|
CFLAGS = CFLAGS .. " -I ../../../contrib/C_Layer/INCLUDE"
|
|
LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj"
|
|
|
|
compile_gcc{"fridge.c"}
|
|
link_gcc("fridge")
|