# Generated automatically from Makefile.in by configure.
#
# Makefile for octave's scripts/special-matrix directory
#
# John W. Eaton
# jwe@che.utexas.edu
# Department of Chemical Engineering
# The University of Texas at Austin

TOPDIR = ../..

script_sub_dir = special-matrix

srcdir = .
top_srcdir = ../..

include $(TOPDIR)/Makeconf

INSTALL = /usr/bin/install -c
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644

SOURCES = *.m

DISTFILES = Makefile.in $(SOURCES)

FCN_FILES = $(wildcard $(srcdir)/*.m)
FCN_FILES_NO_DIR = $(notdir $(FCN_FILES))

all:
.PHONY: all

install:
	$(top_srcdir)/mkinstalldirs $(fcnfiledir)/$(script_sub_dir)
	for f in $(FCN_FILES_NO_DIR) ; do \
	  rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
	  $(INSTALL_DATA) $(srcdir)/$$f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
	done
.PHONY: install

uninstall:
	for f in $(FCN_FILES_NO_DIR) ; \
	  do rm -f $(fcnfiledir)/$(script_sub_dir)/$$f ; \
	done
.PHONY: uninstall

clean:
.PHONY: clean

tags: $(SOURCES)
	ctags $(SOURCES)

TAGS: $(SOURCES)
	etags $(SOURCES)

mostlyclean: clean
.PHONY: mostlyclean

distclean: clean
	rm -f Makefile
.PHONY: distclean

realclean: distclean
	rm -f tags TAGS
.PHONY: realclean

local-dist:
	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/special-matrix
.PHONY: local-dist

dist:
	ln $(DISTFILES) ../../`cat ../../.fname`/scripts/special-matrix
.PHONY: dist
