# HDF5 HL_REGION version 1.1.1 currently under development
# 
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of the NPOESS High-Level HDF5 APIs.  The full copyright 
# notice, including terms governing use, modification, and redistribution, 
# is contained in the file COPYING, which can be found at the root of the
# source code distribution tree and in the documentation directory (doc/html/). 
# If you do not have access to this file, you may request a copy of 
# "the High-Level region HDF5 APIs copyright and license statement" from 
# help@hdfgroup.org.
# 
##############################################################################

# include directories
INCLUDES = -I$(HDF5_INSTALL_DIR)/include -I../src

LIBS = -L../src -lhdf5_hl_region

CC = $(HDF5_INSTALL_DIR)/bin/h5cc

all: test_bitfield test_regref_hyper

test_bitfield: test_bitfield.c 
	$(CC) test_bitfield.c  -o test_bitfield $(LIBS) $(INCLUDES)

test_regref_hyper: test_regref_hyper.c
	$(CC) test_regref_hyper.c -o test_regref_hyper $(LIBS) $(INCLUDES)

tests:
	./test_bitfield; ./test_regref_hyper

clean:
	\rm -f test_bitfield test_regref_hyper *.h5 *.o
