#!/bin/sh
if test -z $1; then
        echo "usage: build <root-class-name>"
                  exit 0
fi

COMPILE=compile
opts=$opts" -I`gtk-config --cflags` -g  -I. ${EGTK}/C/se/gtk_eiffel.c \
	  `gtk-config --libs`"

echo "
$0 is obsolete; it is being replaced by egtkbuild.
You are recommended to use egtkbuild instead.
"

echo $COMPILE -no_strip -no_style_warning -cecil ${EGTK}/C/se/cecil.se \
 $1.e -o $1 $opts
$COMPILE -no_strip -no_style_warning -cecil ${EGTK}/C/se/cecil.se \
 $1.e -o $1 $opts

