1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
%.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
all: $(OCT_FILES)
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 dtrsv.f lse.f \
dlansp.f dpptrf.f dspmv.f dtpmv.f lce.f xerbla.f \
dlantr.f dspev.f dspr.f dtpsv.f lde.f \
dlatrs.f dspgst.f dspr2.f dtrcon.f lsame.f
sp.oct: $(SP_DEP)
mkoctfile $(SP_DEP)
clean:
rm -f *.o *.oct *.a *.so *.so.1 core octave-core
|