# Make the ISM Client tasks.

$call   relink
$exit

update:
        $call   relink
        $call   install
        ;

relink:
	$set LIBS = "-lds -lxtools -liminterp -lslalib"
        $update	libpkg.a
        $omake  x_ism.x
        $link   -z x_ism.o libpkg.a -o ism_wcspix.e $(LIBS)
        ;

debug:
	$set LIBS = "-lds -lxtools -lslalib"
	$set XFLAGS = "$(XFLAGS) -xqF"
        $update	libpkg.a
        $omake  x_ism.x
        $link   -z -x x_ism.o libpkg.a -o ism_wcspix.e $(LIBS)
        ;

install:
	$move ism_wcspix.e ../../bin/ism_wcspix.e
        ;

clean:
	$delete ism_wcspix.e libpkg.a x_ism.o
	;

libpkg.a:
	@lib
	@wcspix
	;
