redquark-amiberry-rb/link_pandora_dirs.sh
2015-05-13 18:47:23 +00:00

40 lines
688 B
Bash
Executable file

#!/bin/bash
cd ./src
# Link to our config.h
if ! [ -e "config.h" ]; then
ln -s od-pandora/config.h config.h
fi
# Link to our sysconfig.h
if ! [ -e "sysconfig.h" ]; then
ln -s od-pandora/sysconfig.h sysconfig.h
fi
# Link to our target.h
if ! [ -e "target.h" ]; then
ln -s od-pandora/target.h target.h
fi
# Link od-pandora to osdep
if ! [ -d "osdep" ]; then
ln -s od-pandora osdep
fi
# We use SDL-threads, so link td-sdl to threaddep
if ! [ -d "threaddep" ]; then
ln -s td-sdl threaddep
fi
# Link md-pandora to machdep
if ! [ -d "machdep" ]; then
ln -s md-pandora machdep
fi
# Link od-sound to sounddep
if ! [ -d "sounddep" ]; then
ln -s sd-pandora sounddep
fi
cd ..