#!/bin/sh GRAPHAPP=/usr/pgrad/loki/graphapp DEMO=./Demo for filename in *.c do echo "+++ Compiling $filename +++" g++ -I$GRAPHAPP -g -R$GRAPHAPP -L$GRAPHAPP -lgraphapp $filename -o $DEMO echo "+++ Running $filename +++" $DEMO done echo "+++ All done +++"