changeset 2813:31887f3e60a3 octave-forge

Initial import
author abarth93
date Wed, 13 Dec 2006 16:08:50 +0000
parents 1162bf0c7720
children 1a6504bd2278
files main/optiminterp/src/Makefile
diffstat 1 files changed, 29 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main/optiminterp/src/Makefile	Wed Dec 13 16:08:50 2006 +0000
@@ -0,0 +1,29 @@
+
+sinclude Makeconf
+
+SOURCES=optiminterp.cc optimal_interpolation.F90 optiminterp_wrapper.F90
+
+OBJECTS=optiminterp.o optimal_interpolation.o optiminterp_wrapper.o
+
+TARGETS=optiminterp.oct
+
+# Rule for compiling Fortran 90 programs
+
+%.o: %.F90 ; $(MKOCTFILE) -c $<
+
+ifeq ($(MKOCTFILE_FORTRAN_90),yes)
+all: $(TARGETS)
+else
+all:
+        @echo "*** mkoctfile lacks Fortran 90 support"; false
+endif
+
+
+optiminterp.oct: $(OBJECTS)
+	$(MKOCTFILE) -o $@ $(OBJECTS) $(LIBS)
+
+check:
+	octave --silent --norc --eval test_optiminterp
+
+clean:
+	rm -f *.o *.oct *~ *.mod