mirror of
https://github.com/yawut/SDL.git
synced 2026-03-28 12:44:48 -05:00
14 lines
308 B
Bash
Executable File
14 lines
308 B
Bash
Executable File
#! /bin/bash
|
|
|
|
cp src/runner/.libs/runner .
|
|
chmod u+x runner
|
|
|
|
PLATFORM="$(uname)"
|
|
if [[ $PLATFORM == "Linux" ]]; then
|
|
cp -f src/libSDLtest/.libs/libSDLtest.so.0 /usr/local/lib
|
|
elif [[ $PLATFORM == "Darwin" ]]; then
|
|
cp -f src/libSDLtest/.libs/libSDLtest.0.dylib /usr/local/lib
|
|
fi
|
|
|
|
echo "Runner installed."
|