#!/bin/sh
qb2c -b -C $1 $2 $3 $4 $5 $6
if test $? = 0 ; then
	gcc -o $1 $1.c -L$(pwd) -lqbX11 -L/usr/X11R6/lib64 -lX11 -lm
fi
