kolibrios/programs/use_fasm.lua
Ivan Baravy 64e1e52eba Autobuild: use (only?) double dots operator to interpolate strings
git-svn-id: svn://kolibrios.org@8723 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-22 18:02:57 +00:00

18 lines
428 B
Lua

INCLUDES = ""
FASM_DEFAULT = "fasm"
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())