head	2.2;
access;
symbols;
locks; strict;
comment	@# @;


2.2
date	2001.11.23.16.26.02;	author scotte;	state Exp;
branches;
next	2.1;

2.1
date	2001.11.23.16.16.45;	author scotte;	state Exp;
branches;
next	2.0;

2.0
date	2000.01.14.19.39.51;	author hodel;	state Exp;
branches;
next	1.3;

1.3
date	98.10.30.15.10.44;	author hodel;	state Exp;
branches;
next	1.2;

1.2
date	98.10.30.15.00.36;	author hodel;	state Exp;
branches;
next	1.1;

1.1
date	98.10.30.14.04.27;	author hodel;	state Exp;
branches;
next	;


desc
@Initial release of Octave version of semidef
@


2.2
log
@mod sp_src.c to remove warning message
@
text
@# Makefile for octave version of semidef
# type in "make" or "make all" to create the .oct file.
# type in "make demo" to create the .oct file and run the demo

%.oct : %.cc $(OCT_LIBS) ocst.h
	@@echo "making $@@ from $<"
	mkoctfile $<  -locst -lm

%.o : %.cc ocst.h
	@@echo "making $@@ from $<"
	mkoctfile $<
	rm -f $*.oct

OCT_FILES = sp.oct 
SP_DEP= sp.cc get_matrix.o get_real_scalar.o get_vector.o sp_src.c \
	dgels.f    dopgtr.f   dspgv.f    dsptrd.f   lse.f \
	dlansp.f   dpptrf.f   dspmv.f    dtpmv.f    lce.f \
	dlantr.f   dspev.f    dspr.f     dtpsv.f    lde.f \
	dlatrs.f   dspgst.f   dspr2.f    dtrcon.f 

all: $(OCT_FILES)

demo: $(OCT_FILES)
	@@echo "Type in \"demosp\" at the octave prompt"
	octave

sp.oct: $(SP_DEP) ocst.h
	mkoctfile $(SP_DEP)

clean:
	rm -f *.o *.oct *.a *.so *.so.1 core octave-core so_locations

@


2.1
log
@Added debugging code; patch from Dirk Eddelbuettel
@
text
@@


2.0
log
@Fixed to compile with octave-2.1.24
@
text
@a20 4
# Added by Dirk Eddelbuettel for Linux port
octlib  := $(shell ls /usr/bin/octave-*.*.* | sed -e 's/bin/lib/')
SP_LIB = -L$(octlib) -lcruft

@


1.3
log
@Added Dirk Eddelbuettel's LINUX modifications
@
text
@d35 1
a35 1
	rm -f *.o *.oct *.a *.so *.so.1 core octave-core
@


1.2
log
@Initialization code added to avoid floating point exceptions on dec alpha
@
text
@d1 4
a14 5

all: $(OCT_FILES)
	@@echo "Type in \"demosp\" at the octave prompt"
	octave

d21 10
@


1.1
log
@Initial revision
@
text
@d17 2
a18 2
	dgels.f    dopgtr.f   dspgv.f    dsptrd.f   dtrsv.f    lse.f \
	dlansp.f   dpptrf.f   dspmv.f    dtpmv.f    lce.f      xerbla.f \
d20 1
a20 1
	dlatrs.f   dspgst.f   dspr2.f    dtrcon.f   lsame.f
@
