Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (14 sloc) 343 Bytes
#!/bin/bash
prefix=$1
if [ "$prefix" == "" ]; then
echo "Usage: ./install.sh <prefix>"
exit 1
fi
mkdir -p $prefix/include/
mkdir -p $prefix/include/jngl/
mkdir -p $prefix/lib/
mkdir -p $prefix/lib/pkgconfig/
cp src/jngl.hpp $prefix/include/
cp src/jngl/*.hpp $prefix/include/jngl/
cp libjngl.a $prefix/lib/
cp jngl.pc $prefix/lib/pkgconfig/
Jump to Line
Something went wrong with that request. Please try again.