view examples/Makefile.in @ 4337:d56e0d75e7c9 ss-2-1-45

[project @ 2003-02-19 21:20:19 by jwe]
author jwe
date Wed, 19 Feb 2003 21:20:19 +0000
parents 6d56646a2d1f
children 2de7c7452a1e
line wrap: on
line source

#
# 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 $(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