#!/bin/sh

usage()
{
    echo Usage: ph-config [--cxxflags] [--ldflags]
    exit
}

cxxflags()
{
    echo -I/usr/include
}

ldflags()
{
    echo -L/usr/lib -lpeerhood -lbluetooth -lpthread -ldl
}

if test $# -eq 0; then 
    usage
fi

while test $# -gt 0; do
    case "$1" in 
	--cxxflags)
	cxxflags
	;;
	--ldflags)
	ldflags
	;;
	*)
	usage
	;;
    esac
    shift
done
