#!/bin/csh -f
# --- Copyright University of Sussex 1994. All rights reserved. ----------
# File:             $poplocal/local/popvision/com/compile_popvision_gcc
# Purpose:          Compile popvision files using gcc
# Author:           David S Young, Jul 28 1994

# John Williams, Nov  5 1993
# revised David Young, 20 July 1994

foreach f (*.c)
    set Comm = ( gcc -o bin/sun4r5/${f:r}.so -O3 -fpic -shared $f )
    echo $Comm
    $Comm
end
