Commit 2b4a13c0 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix Fortran 2003 examples to use module file from build directory.

parent d8f78cfd
......@@ -8,7 +8,7 @@ if CREATE_ISOC
endif
#
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_FCFLAGS = $(AM_CPPFLAGS)
AM_FCFLAGS = $(FPP_INCOPT)$(top_srcdir)/src $(FC_MOD_FLAG)../src
#
cdi_write_SOURCES = cdi_write.c
cdi_write_LDADD = $(top_builddir)/src/libcdi.la
......
......@@ -296,7 +296,7 @@ top_srcdir = @top_srcdir@
EXTRA_DIST = cdi_read_f2003.f90 cdi_write_f2003.f90
#
AM_CPPFLAGS = -I$(top_srcdir)/src
AM_FCFLAGS = $(AM_CPPFLAGS)
AM_FCFLAGS = $(FPP_INCOPT)$(top_srcdir)/src $(FC_MOD_FLAG)../src
#
cdi_write_SOURCES = cdi_write.c
cdi_write_LDADD = $(top_builddir)/src/libcdi.la
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment