#!/bin/sh
cd pspdecrypt
make || exit
cp -f pspdecrypt.prx ../../popsdeco_rev1/
cp -f pspdecrypt.prx ../../popsdeco_rev2/
make clean
cd ../
cd libpsardumper
make || exit
cp -f libpsardumper.prx ../../popsdeco_rev1/
cp -f libpsardumper.prx ../../popsdeco_rev2/
make clean
cd ../
cd main
make -f Makefile_rev1 || exit
cp -f EBOOT.PBP ../../popsdeco_rev1/
make -f Makefile_rev1 clean
make || exit
cp -f EBOOT.PBP ../../popsdeco_rev2/
make clean
cd ../

