# $FreeBSD: ports/graphics/hdf/files/Makefile,v 1.1 1999/11/14 02:32:03 steve Exp $

SUBDIR	 = hdf mfhdf man
#PREFIX	?= /usr/local
LIBDIR	?= ${PREFIX}/lib
BINDIR	?= ${PREFIX}/bin

.MAKEFLAGS: PREFIX=${PREFIX} LIBDIR=${LIBDIR} BINDIR=${BINDIR}

test: all
	# testing in hdf
	@cd hdf && ${MAKE} hdf-test
	# testing in mfhdf
	@cd mfhdf && ${MAKE} test

.include <bsd.subdir.mk>
