#!/bin/csh

alias	LIPO	'echo \!\!:1; /bin/lipo -extract m68k -extract i386 \!\!:1 -output X; mv X \!\!:1'

cd ToyViewer.app
foreach b ( ToyViewer hpcdtoppm mag2pxo pcx2pxo xbm2pbm djpeg cjpeg jbgtopbm pbmtojbg pao2png png2pao )
	LIPO $b
end
foreach b ( *.bundle )
	LIPO $b/$b:r
end
