Import('env') common_flash=[\ "godot_flash.cpp", "os_flash.cpp", "rasterizer_flash.cpp", #"dir_access_flash.cpp", ] abc = env.Command('#platform/flash/Console.abc', '#platform/flash/Console.as', """ java -jar $ALCHEMY/usr/lib/asc2.jar -md -strict -optimize -AS3 \ -import $ALCHEMY/usr/lib/builtin.abc \ -import $ALCHEMY/usr/lib/playerglobal.abc \ -import $ALCHEMY/usr/lib/CModule.abc \ -import $ALCHEMY/usr/lib/ISpecialFile.abc \ -import platform/flash/lib/libGL.abc \ platform/flash/Console.as """) exe = env.Program('#bin/godot',common_flash, PROGSUFFIX=env['PROGSUFFIX']+".exe") swf = env.Program('#bin/godot',common_flash, PROGSUFFIX=env['PROGSUFFIX']+".swf", LINKFLAGS=env['LINKFLAGS']+['-emit-swf']) env.Depends(exe, abc) env.Depends(swf, abc) """ java -jar $ALCHEMY/usr/lib/asc2.jar -md -strict -optimize -AS3 \ -import $ALCHEMY/usr/lib/builtin.abc \ -import $ALCHEMY/usr/lib/playerglobal.abc \ -import $ALCHEMY/usr/lib/CModule.abc \ -import $ALCHEMY/usr/lib/ISpecialFile.abc \ -import ../platform/flash/lib/libGL.abc \ ../platform/flash/Console.as """