# makefile for testing and installing the numerical array classes

VERSION = 0.9.2
NAME = g++array-$(VERSION)

prefix = /usr/local
includedir = $(prefix)/include

MAKE = make
INSTALL_DATA = install

FILES = mArray.h mVector.h mMatrix.h valarray.h array_def.h matrix_def.h array_store.h

install:
	if [ -d $(includedir) ]; then echo $(includedir) exists already; \
		else $(INSTALL_DATA) -d $(includedir); fi
	$(INSTALL_DATA) -m 0644 $(FILES) $(includedir)

uninstall:
	cd $(includedir); rm -rf $(FILES)

