mac-rom/EasyBuild

21 lines
706 B
Plaintext
Raw Normal View History

2018-02-03 07:02:42 +00:00
Set MAKE_FILE :Make:RISC.make
Set MAKE_OUT :BuildResults:RISC:Text:MakeFile
Set Parent "`Files -f "{0}" | StreamEdit -d -e '/((<28>:)*)<29>1([<5B>:]*)/ Print <20>1'`"
SetDirectory "{Parent}"
Set AllMiscRsrcFiles "`WhereIs -s :Misc .rsrc` `WhereIs -s :Misc GoNativeResources`" # quoted for us!
For ToRez in `Files -n -x r {AllMiscRsrcFiles} | StreamEdit -d -e "/(<28>)<29>1 0b<30>/ Print <20>1"`
Echo EasyBuild: Rezzing (once-off) "{ToRez}"
Rez -t rsrc -c RSED -o "{ToRez}" "{ToRez}"
End
2018-02-03 07:02:42 +00:00
Make -w -d Sources=: -f "{MAKE_FILE}" RomMondo > "{MAKE_OUT}"
"{MAKE_OUT}"
# So that RomMondo is definitely the newest thing in the tree!
SetDirectory :BuildResults:RISC:Image:
Catenate RomMondo > RomMondoX
Rename -y RomMondoX RomMondo