#!/bin/csh -f

# This is a real hack of a wrapper for the linux assembler.
# It replaces comment characters generated by pgf77 with
# recognized comment characters. Invoke with -Ya,../tools
# in the FFLAGS variable in Makefile

set asfile=$argv[$#argv]
set argv[$#argv]="--"

echo "sed 's:/:#:' $asfile | exec /usr/bin/as $argv"

sed 's:/:#:' $asfile | exec /usr/bin/as $argv
