Skip to content

Instantly share code, notes, and snippets.

@dbuenzli
Created May 18, 2014 23:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save dbuenzli/4e10a77550bb43af2606 to your computer and use it in GitHub Desktop.
Save dbuenzli/4e10a77550bb43af2606 to your computer and use it in GitHub Desktop.
SDL install script
#!/bin/sh -ex
V=2.0.3
curl -OL http://www.libsdl.org/release/SDL2-${V}.tar.gz
tar -zxvf SDL2-${V}.tar.gz
cd SDL2-${V}
sudo apt-get install build-essential mercurial make cmake autoconf automake \
libtool libasound2-dev libpulse-dev libaudio-dev libx11-dev libxext-dev \
libxrandr-dev libxcursor-dev libxi-dev libxinerama-dev libxxf86vm-dev \
libxss-dev libgl1-mesa-dev libesd0-dev libdbus-1-dev libudev-dev \
libgles1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev
./configure
make
sudo make install
@egordorichev
Copy link

cool!

@andrew21-mch
Copy link

I got this
─$ make install 2 ⨯
make: *** No rule to make target 'install'. Stop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment