#
# Makefile for octave's src directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

# Maybe this message will prevent people from asking why the
# Makefiles don't work for them.  Maybe not.

all: FORCE
	@echo ""
	@echo "**********************************************************"
	@echo "*                                                        *"
	@echo "*  To compile Octave, you will need a recent version of  *"
	@echo "*  GNU Make.                                             *"
	@echo "*                                                        *"
	@echo "*  You will also need g++ and libg++.                    *"
	@echo "*                                                        *"
	@echo "*  This version of Octave has been developed with        *"
	@echo "*  version 2.7.2.   You probably won't get very far      *"
	@echo "*  with earlier versions.  Later versions may work,      *"
	@echo "*  but C++ is still evolving, so don't be too surprised  *"
	@echo "*  if you run into some trouble.                         *"
	@echo "*                                                        *"
	@echo "*  Now would be a good time to read INSTALL.OCTAVE if    *"
	@echo "*  you have not done so already.                         *"
	@echo "*                                                        *"
	@echo "**********************************************************"
	@echo ""
	$(MAKE) -f octMakefile all

# plplot should go in TARGETS if we start distributing it.

TARGETS = octave-bug mkoctfile libcruft liboctave kpathsea info dlfcn \
	src scripts doc check octave.info INSTALL.OCTAVE BUGS \
	install uninstall tags TAGS clean-tar dist-z links-for-dist \
	dist-tar clean-dist-tar dist links-for-bin-dist bin-dist-tar \
	clean-bin-dist-tar binary-dist doc-dist-tar clean-doc-dist-tar \
	doc-dist local-dist-tar clean-local-dist-tar local-dist \
	split-dist split-local-dist conf-dist \
	snapshot-z snapshot snapshot-version

NO_DEP_TARGETS = clean mostlyclean distclean maintainer-clean

ALL_TARGETS = $(TARGETS) $(NO_DEP_TARGETS)

$(TARGETS): FORCE
	$(MAKE) -f octMakefile $@

$(NO_DEP_TARGETS): FORCE
	$(MAKE) -f octMakefile omit_deps=true $@

FORCE:  
