mirror of
https://github.com/rvtr/TwlIPL.git
synced 2025-10-31 06:01:12 -04:00
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/branches/20130304_launcher_save_app_tosd_Remodel@3080 b08762b0-b915-fc4b-9d8c-17b2551a87ff
28 lines
568 B
Ruby
Executable File
28 lines
568 B
Ruby
Executable File
fFoot = open "MakeFooter.txt"
|
|
fHead = open "MakeHeader.txt"
|
|
|
|
contentFoot = fFoot.read
|
|
contentHead = fHead.read
|
|
|
|
fFoot.close
|
|
fHead.close
|
|
|
|
gamecodeList = ["020A","021A","022A","023A","024A","025A",
|
|
"0B0A","0B1A","0B2A","0B3A","0B4A","0B5A",
|
|
"0B6A","0B7A","0B8A","0B9A","0BAA","0BBA",
|
|
]
|
|
fileNameList = []
|
|
|
|
for gamecode in gamecodeList
|
|
|
|
fileName = "Makefile.#{gamecode}"
|
|
fileNameList << fileName
|
|
f = open( fileName, "w")
|
|
f.puts contentHead
|
|
f.puts "GAMECODE\t=\t#{gamecode}"
|
|
f.puts contentFoot
|
|
f.close
|
|
end
|
|
|
|
print fileNameList
|