# Make the F2C package using host level Makefiles.  Move binaries
# to the bin directory.

$call	relink
$exit

update:
	$call relink
	$call install
	;

relink:
        $echo   '------------------- F2C ---------------------'
	$ifeq (MACH, irix) then
	    !make -f makefile.dec f2c
	$else $ifeq (MACH, dec) then
	    !make -f makefile.dec f2c
	$else $ifeq (MACH, redhat) then
	    !make -f makefile.rhux f2c
	$else
	    !make all
	$end
	$exit
	;

install:
	$move	f2c	sppbin$f2c.e
	!/bin/rm -f *.o xsum
	;
