#!/bin/sh

if test ! -f ./qglviewer.pro; then
	echo Launch $0 from the toplevel directory \(where the
	echo qglviewer.pro file resides\).
	exit 1
fi

echo Creating makefiles.
echo

echo Creating global Makefile
tmake -o Makefile qglviewer.pro

echo Issuing make/tmake to create the rest
make tmake_all

echo
echo Now you can run make to build QGLViewer.
