mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-11-24 01:39:35 +03:00
add forgotten file
git-svn-id: svn://kolibrios.org@5124 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
fbdccce9a4
commit
ace3d39af4
13
programs/games/checkers/trunk/Tupfile.lua
Normal file
13
programs/games/checkers/trunk/Tupfile.lua
Normal file
@ -0,0 +1,13 @@
|
||||
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_menuetlibc.lua")
|
||||
|
||||
if tup.getconfig("LANG") == "ru"
|
||||
then C_LANG = "LANG_RUS"
|
||||
else C_LANG = "LANG_ENG" -- this includes default case without config
|
||||
end
|
||||
CFLAGS = CFLAGS .. " -D_KOLIBRI -DAUTOBUILD -D" .. C_LANG .. " -DNO_FILES -fwhole-program"
|
||||
|
||||
compile_gcc{"checkers.cpp"}
|
||||
link_gcc("checkers")
|
Loading…
Reference in New Issue
Block a user