mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-06 14:56:51 +08:00
30bfb1e0ea
Bug fix Description: Different compilers use different flags to include Fortran module files Solution: Changed boilerplate to use configure variable rather than hardcoded -M flag. Platforms tested: sleipnir, sol, copper
29 lines
808 B
Makefile
29 lines
808 B
Makefile
#
|
|
# Copyright (C) 2001 National Center for Supercomputing Applications.
|
|
# All rights reserved.
|
|
#
|
|
##
|
|
## Makefile.am
|
|
## Run automake to generate a Makefile.in from this file.
|
|
##
|
|
#
|
|
# HDF5 High-Level Fortran Makefile(.in)
|
|
|
|
include $(top_srcdir)/config/commence.am
|
|
|
|
AM_CPPFLAGS=-I$(top_srcdir)/src $(top_builddir)/src
|
|
AM_FFLAGS=-I$(top_builddir)/fortran/src -I$(top_builddir)/hl/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/hl/fortran/src
|
|
|
|
# Our main target, the test programs
|
|
TEST_PROG=tstlite tstimage tsttable
|
|
check_PROGRAMS=$(TEST_PROG)
|
|
|
|
LDADD=$(LIBH5_HL) $(LIBH5F_HL) $(LIBH5F) $(LIBHDF5)
|
|
|
|
# Source files for the programs
|
|
tstlite_SOURCES=tstlite.f90
|
|
tstimage_SOURCES=tstimage.f90
|
|
tsttable_SOURCES=tsttable.f90
|
|
|
|
include $(top_srcdir)/config/conclude.am
|