open_toontown_panda3d/dtool/src/build/initialize

23 lines
553 B
Bash
Executable File

#! /bin/sh
if test "$1" = ""; then
echo "must give a make command as the argument."
echo "(eg: initialize /usr/atria/bin/clearmake -C gnu)"
exit 1
fi
test -d ../../include || mkdir ../../include
test -d ../../bin || mkdir ../../bin
cp Makefile.install.rules Makefile.meta.rules Makefile.install.vars Makefile.project.vars Makefile.penv.vars Makefile.o.vars ctproj.pl ../../include
cp ctproj ctpathadjust ../../bin
cd ../..
if test "$DTOOL" = ""; then
DTOOL=`pwd`
export DTOOL
fi
PATH=$DTOOL/bin:$PATH
export PATH
ppremake
$* build attach