#!/bin/bash


cat gins.c-header >gins.c
cat gins.c-body >>gins.c
cat gins.c-footer >>gins.c

echo

make 1>&2 2>err.txt

cat err.txt | grep error
echo
cat err.txt | grep 'undefined reference'

make install

echo
echo
echo
echo
echo