# Make SPECTIME.

$call	relink
$exit

update:
	$call	relink
	$call	install
	;

relink:
	$set	LIBS = "-lsmw -liminterp"

	$update	libpkg.a
	$omake	x_spectime.x
	$link	x_spectime.o libpkg.a $(LIBS) -o xx_spectime.e
	;

install:
	$move	xx_spectime.e sptimebin$x_spectime.e
	;

libpkg.a:
	grating.x	<error.h> <math.h>
	stdisperser.x	sptime.h
	t_cgiparse.x
	t_sptime.x	sptime.h <error.h> <gset.h> <math.h> <ctype.h> <mach.h>
	tabinterp.x	<error.h> <math/iminterp.h> <mach.h>
	;
