#!/bin/sh

# Short script to compile a Player 2.0.0 
# playerc++ client
# Requires 2 arguments, (1) name of binary
# and (2) name of code to compile

if [ $# != 2 ]; then
 echo Require 2 arguments
 exit 1
fi

g++ -o $1 `pkg-config --cflags playerc++` $2 `pkg-config --libs playerc++`
