#!/bin/csh -f
#
#  This C-shell sccript is used to make the CIFoutput section of
#    MOSIS's CMOS technology file for Magic version 6.3
#
echo "Making CIFinput..."
#  use C-preprocessor to calaulate lambda value
cc -P cifin.c
#  string replace...
sed -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" cifin.i > CIFin
# remove tmp file
rm -f cifin.i
