Makefile.am 425 Bytes
Newer Older
1 2
AM_CPPFLAGS += -I${abs_top_builddir}/src/include
FFLAGS += -cpp $(AM_CPPFLAGS)
gsell's avatar
gsell committed
3
AM_LDFLAGS += -L${abs_top_builddir}/src/lib
4 5 6 7 8 9 10 11 12 13 14 15

LDADD = 

if ENABLE_FORTRAN
LDADD += -lH5hutF
endif

LDADD += -lH5hut

noinst_PROGRAMS = 

if ENABLE_C
gsell's avatar
gsell committed
16 17 18
noinst_PROGRAMS += 	\
	openclose	\
	file_attribs
19 20 21 22 23 24 25 26 27 28 29 30
endif

if ENABLE_FORTRAN
noinst_PROGRAMS += 
endif

EXTRA_PROGRAMS = openclose

openclose_SOURCES = openclose.c

%.o : %.f90
	$(FC)  $(FFLAGS) -c $<