mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-21 06:12:34 +03:00
efd8f1922c
git-svn-id: svn://kolibrios.org@5266 a494cfbc-eb01-0410-851d-a64ba20cac60
10 lines
432 B
Lua
10 lines
432 B
Lua
if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_GCC") ~= "" then return end
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
|
CFLAGS = CFLAGS .. " -I include"
|
|
LDFLAGS = LDFLAGS .. " -T kolibri.ld"
|
|
OBJS += tup.foreach_rule({"start.asm", "kolibrisys/*.asm"}, "fasm %f %o", "%B.o")
|
|
compile_gcc{"game.c"}
|
|
compile_gcc{"stdio/*.c"}
|
|
link_gcc("nsider")
|