diff --git a/examples/Makefile.am b/examples/Makefile.am index 85dce93a..b898af1b 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -1,9 +1,8 @@ # Build-time flags needed to form example programs -ERT_INCLUDE_PATH = $(ERT_ROOT)/include AM_CPPFLAGS = \ -I$(top_srcdir) \ --I$(ERT_INCLUDE_PATH) \ +$(ERT_CPPFLAGS) \ $(OPM_BOOST_CPPFLAGS) # All targets link to the library diff --git a/tutorials/Makefile.am b/tutorials/Makefile.am index a5e42569..3be1c9f8 100644 --- a/tutorials/Makefile.am +++ b/tutorials/Makefile.am @@ -1,5 +1,6 @@ AM_CPPFLAGS = \ -I$(top_srcdir) \ +$(ERT_CPPFLAGS) \ $(OPM_BOOST_CPPFLAGS) AM_LDFLAGS = $(OPM_BOOST_LDFLAGS)