mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-17 12:22:35 +03:00
8f1d0172f6
git-svn-id: svn://kolibrios.org@8316 a494cfbc-eb01-0410-851d-a64ba20cac60
14 lines
509 B
Lua
Executable File
14 lines
509 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")
|
|
|
|
-- C_Layer
|
|
CFLAGS = CFLAGS .. " -std=c99 -Wall -Wextra"
|
|
INCLUDES = INCLUDES .. " -I../../../contrib/C_Layer/INCLUDE"
|
|
table.insert(LIBDEPS, "../../../contrib/C_Layer/OBJ/<C_Layer>")
|
|
LIBS = LIBS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.o"
|
|
|
|
compile_gcc{"fridge.c"}
|
|
link_gcc("fridge")
|