#!/bin/sh

./makelist -h ./vi.c > vi.h

./makelist -h ./emacs.c > emacs.h

./makelist -h ./common.c > common.h

./makelist -fh vi.h emacs.h common.h > fcns.h

./makelist -fc vi.h emacs.h common.h > fcns.c

./makelist -bc vi.c emacs.c common.c > help.c

./makelist -bh vi.c emacs.c common.c > help.h

./makelist -e chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c > editline.c
