############################################################################## # # Copyright by The HDF Group. # All rights reserved. # # This file is part of the hl_region 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 hl_region High-Level HDF5 APIs copyright and license statement" from # help@hdfgroup.org. # ############################################################################## # include directories INCLUDES = -I../src -I../../src LIBS = -L../src -L../../src -lhdf5_hl_region_fortran -lhdf5_hl_region .SUFFIXES: .f90 FC = $(HDF5_INSTALL_DIR)/bin/h5fc all: test_util.o test_bitfield test_regref_hyper test_bitfield: test_bitfield.f90 test_util.o $(FC) test_bitfield.f90 -o test_bitfield test_util.o $(LIBS) $(INCLUDES) test_regref_hyper: test_regref_hyper.f90 test_util.o $(FC) test_regref_hyper.f90 -o test_regref_hyper test_util.o $(LIBS) $(INCLUDES) test_util.o: test_util.f90 $(FC) -c test_util.f90 $(LIBS) $(INCLUDES) tests: ./test_bitfield; ./test_regref_hyper clean: \rm -f test_regref_hyper *.h5 *.o *.mod \rm -f test_bitfield test_regref_hyper *.h5 *.o *.mod