summaryrefslogtreecommitdiff
path: root/graphics/hdf/files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/hdf/files/Makefile')
-rw-r--r--graphics/hdf/files/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/graphics/hdf/files/Makefile b/graphics/hdf/files/Makefile
new file mode 100644
index 000000000000..0dc23c19cf80
--- /dev/null
+++ b/graphics/hdf/files/Makefile
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+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>