forked from KolibriOS/kolibrios
Add /programs/games/fridge to autobuld.
git-svn-id: svn://kolibrios.org@8316 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
818c477d6f
commit
8f1d0172f6
@ -1,2 +1,2 @@
|
|||||||
if tup.getconfig("NO_FASM") ~= "" then return end
|
if tup.getconfig("NO_FASM") ~= "" then return end
|
||||||
tup.foreach_rule("*.asm", "fasm %f %o", "../OBJ/%B.obj")
|
tup.foreach_rule("*.asm", "fasm %f %o", {"../OBJ/%B.o", "../OBJ/<C_Layer>"})
|
||||||
|
@ -4,8 +4,10 @@ tup.include(HELPERDIR .. "/use_gcc.lua")
|
|||||||
tup.include(HELPERDIR .. "/use_newlib.lua")
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
||||||
|
|
||||||
-- C_Layer
|
-- C_Layer
|
||||||
CFLAGS = CFLAGS .. " -std=c99 -I ../../../contrib/C_Layer/INCLUDE"
|
CFLAGS = CFLAGS .. " -std=c99 -Wall -Wextra"
|
||||||
LDFLAGS = LDFLAGS .. " ../../../contrib/C_Layer/OBJ/loadlibimg.obj"
|
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"}
|
compile_gcc{"fridge.c"}
|
||||||
link_gcc("fridge")
|
link_gcc("fridge")
|
Loading…
Reference in New Issue
Block a user