#!/bin/sh

if [ -z "$1" ]
then
    echo 1>&2 "$0:  error:  invocation:  $0 PROGRAM"
fi

for module in `cat bin/$1.prog-dep`
do
    if [ -r ld/$module.sh ]
    then
	flags=
	. ld/$module.sh
	echo $flags
    fi
done

