#! /bin/sh cc -o lcs-cvt lcs-cvt.c ofiles= for f in fatal git-intf help main memstream stdio-util subproc ui vars funopen do cc -g -E -I. -Igit-interactive -I$HOME/include -o _.i git-interactive/$f.c && ./lcs-cvt _.i && cc -g -c -o $f.o _.i ofiles="$ofiles $f.o" done cc -o git-interactive.bin $ofiles -lcurses -ltermcap