ktcc: added linux and windows tup-build.

git-svn-id: svn://kolibrios.org@9543 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2022-01-01 15:34:31 +00:00
parent 2325fc5d35
commit 85c4fdb6b2

View File

@ -7,6 +7,6 @@ compile_gcc{"tcc.c"}
compile_gcc{"libtcc.c"}
link_gcc("tcc")
-- CFLAGS = " -static -m32 -DTCC_TARGET_MEOS_LINUX "
-- tup.rule({"tcc.c", "libtcc.c"}, "gcc" .. CFLAGS .. "%f -o %o" , "kos32-tcc")
-- tup.rule({"tcc.c", "libtcc.c"}, "i686-w64-mingw32-gcc" .. CFLAGS .. "%f -o %o" , "kos32-tcc.exe")
CFLAGS = " -static -m32 -DTCC_TARGET_MEOS_LINUX "
tup.rule({"tcc.c", "libtcc.c"}, "gcc" .. CFLAGS .. "%f -o %o" , "kos32-tcc")
tup.rule({"tcc.c", "libtcc.c"}, "i686-w64-mingw32-gcc" .. CFLAGS .. "%f -o %o" , "kos32-tcc.exe")