view examples/Makefile.in @ 2645:8fbc52dfc4c3

[project @ 1997-01-29 17:51:11 by jwe]
author jwe
date Wed, 29 Jan 1997 17:51:39 +0000
parents 7e24c1f29db4
children 49d6c6ee7b03
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_DATA = @INSTALL_DATA@

SCRIPTS = info-emacs-info info-emacs-octave-help

SOURCES = hello.cc make_int.cc

DISTFILES = Makefile.in $(SOURCES) $(SCRIPTS)

BINDISTFILES = $(addprefix $(srcdir)/, $(SCRIPTS))

SUBDIRS = 

DISTSUBDIRS = 

all:
.PHONY: all

install:
	for f in $(SCRIPTS); do \
	  $(INSTALL_SCRIPT) $(srcdir)/$$f $(archlibdir)/$$f ; \
	done
.PHONY: install

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