Part of issue #328 Reviewed-on: #343 Reviewed-by: Max Logaev <maxlogaev@proton.me> Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com> Co-authored-by: hrigar <h4gar02@protonmail.com> Co-committed-by: hrigar <h4gar02@protonmail.com>
8 lines
301 B
Lua
8 lines
301 B
Lua
OB07 = tup.getcwd() .. "/develop/oberon07/compiler"
|
|
OB07_FLAGS = "-stk 1 -nochk a"
|
|
|
|
function build_ob07(input, output, extra_flags)
|
|
extra_flags = extra_flags or ""
|
|
tup.rule(input, OB07 .. " %f kosexe -out %o " .. OB07_FLAGS .. " " .. extra_flags .. " " .. tup.getconfig("KPACK_CMD"), output)
|
|
end
|