kolibrios-gitea/programs/games/nsider/Tupfile.lua
eugene455 efd8f1922c The first stable version of N-sider. Level editor, 2 redraw technologies and save/load data added.
git-svn-id: svn://kolibrios.org@5266 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-26 20:27:51 +00:00

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")