kolibrios-gitea/programs/use_fasm.lua
Ivan Baravy bb845a71ca Fix autobuild.
git-svn-id: svn://kolibrios.org@8724 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-22 19:09:11 +00:00

19 lines
507 B
Lua

INCLUDES = ""
FASM_DEFAULT = "fasm"
PESTRIP_CMD = string.gsub(tup.getconfig("PESTRIP_CMD"), "$(ROOT)", ROOT or "")
function add_include(dir)
if INCLUDES == ""
then INCLUDES = dir
else INCLUDES = INCLUDES .. ";" .. dir
end
if tup.getconfig("TUP_PLATFORM") == "win32"
then env_prefix = "set INCLUDE=$(INCLUDES)&&"
-- else env_prefix = "INCLUDE='$(INCLUDES)' "
else env_prefix = "INCLUDE='" .. INCLUDES .. "' "
end
FASM = env_prefix .. FASM_DEFAULT
end
add_include(tup.getcwd())