#!/bin/sh # # mkfunc libname file.o ... # # looks at the corresponding C files and generates an Icon procedure # corresponding to each C function header that matches the pattern below. # # If a function name begins with "icon_", those characters are removed # to form the procedure name. Otherwise, the name is copied verbatim. LIB=${1?"usage: $0 libname obj..."} shift cat <