#
# Makefile for octave's examples directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering
TOPDIR = ..
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
include $(TOPDIR)/Makeconf
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
SCRIPTS = info-emacs-info info-emacs-octave-help
SOURCES = hello.cc oregonator.m oregonator.cc make_int.cc
DISTFILES = Makefile.in $(SOURCES) $(SCRIPTS)
BINDISTFILES = $(addprefix $(srcdir)/, $(SCRIPTS))
SUBDIRS =
DISTSUBDIRS =
all:
.PHONY: all
install install-strip:
for f in $(SCRIPTS); do \
$(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(archlibdir)/$$f; \
done
.PHONY: install install-strip
tags:
ctags $(SOURCES)
TAGS: $(SOURCES)
etags $(SOURCES)
clean mostlyclean:
.PHONY: clean mostlyclean
distclean:
rm -f Makefile
.PHONY: distclean
maintainer-clean: distclean
rm -f tags TAGS
.PHONY: maintainer-clean
dist:
ln $(DISTFILES) ../`cat ../.fname`/examples
.PHONY: dist
bin-dist:
if [ -n "$(BINDISTFILES)" ]; then \
ln $(BINDISTFILES) ../`cat ../.fname`/examples; \
fi
.PHONY: bin-dist
syntax highlighted by Code2HTML, v. 0.9.1