Add Yaru-dark skin from ConLenov
[kolibrios.git] / programs / use_fasm.lua
blob92f692d12ab9654a07b6c3ccf746e5a0cd4f7a7d
1 INCLUDES = ""
2 FASM_DEFAULT = "fasm"
3 PESTRIP_CMD = string.gsub(tup.getconfig("PESTRIP_CMD"), "$(ROOT)", ROOT or "")
5 function add_include(dir)
6 if INCLUDES == ""
7 then INCLUDES = dir
8 else INCLUDES = INCLUDES .. ";" .. dir
9 end
10 if tup.getconfig("TUP_PLATFORM") == "win32"
11 then env_prefix = "set INCLUDE=$(INCLUDES)&&"
12 -- else env_prefix = "INCLUDE='$(INCLUDES)' "
13 else env_prefix = "INCLUDE='" .. INCLUDES .. "' "
14 end
15 FASM = env_prefix .. FASM_DEFAULT
16 end
18 add_include(tup.getcwd())