Defs.mak/Defs.make
Posted: Wed Jul 04, 2007 11:04 am
Why is there a Defs.mak and a Defs.make in the ps2sdk directory and which is the correct one?
Homebrew PS2, PSP & PS3 Development Discussions
https://forums.ps2dev.org./
You should not have just one "the ps2sdk directory", but two separate ones, never to be mixed up. One for the source and another for the binary release, and all content of the second one should be created by a "make release" command after compiling the first one by a normal "make all".radad wrote:Why is there a Defs.mak and a Defs.make in the ps2sdk directory and which is the correct one?
Code: Select all
##############################
## BUILD AND INSTALL PS2SDK ##
##############################
cd $PS2SDK
rm -Rf *
cd $PS2SDKSRC
make clean; make || { echo "ERROR BUILDING PS2SDK"; exit; }
make release || { echo "ERROR INSTALLING PS2SDK"; exit; }
## Replace newlib's crt0 with the one in ps2sdk.
ln -sf $PS2SDK/ee/startup/crt0.o $PS2DEV/ee/lib/gcc-lib/ee/3.2.2/
ln -sf $PS2SDK/ee/startup/crt0.o $PS2DEV/ee/ee/lib/
## Comment out the line below, if you want to keep all object files
make clean
cd ..