#!/bin/sh

usage()
{
	echo "usage: $0 [--cflags] [--libs] [--version]"
	exit 0
}

cflags=no
libs=no
version=no

test "$1" || usage

while test "$1"; do
	case "$1" in
	--cflags )
		cflags=yes
		;;
	--libs )
		libs=yes
		;;
	--version )
		version=yes
		;;
	* )
		usage
		;;
	esac
	shift
done

test "$cflags" = yes && cat << FOO
-I/usr/local/include -DNARROWPROTO=1 
FOO

test "$libs" = yes && cat << FOO
-L/usr/local/lib -lMowitz 
FOO

test "$version" = yes && cat << FOO
0.3.1
FOO

