#!/bin/sh
#
# sc2kmf - converts a SCEND configuration file to a Makefile as used
#          by the Linux kernel
#
sed '/^!/d
  s/\(.*\.\)*\([^.]*\)/\2/
  /=/{s/\([^=]*\)=\(.*\)/\1 = \2/p;d;}
  s/.*/& = &/'
