# SPDX-License-Identifier: MIT Set InFile "Macintosh HD:Documents:LightsOut:LightsOut.rsrc" Set OutFile "Macintosh HD:Documents:LightsOut:LightsOut.r" Delete "{OutFile}" Echo '// SPDX-License-Identifier: MIT' >> "{OutFile}" Echo '// Generated by GenerateR' >> "{OutFile}" Echo '#include "Types.r"' >> "{OutFile}" Echo '#include "SysTypes.r"' >> "{OutFile}" Echo '' >> "{OutFile}" DeRez -i "{RIncludes}" "{InFile}" Types.r SysTypes.r >> "{OutFile}"