From f69b447fab64f5cc7cdd66b6fc50a9ccc07745d6 Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Mon, 16 Aug 2004 17:48:59 -0500 Subject: [svn-r9099] Purpose: Bug fix Description: The examples would compile even if some header file were not installed. That was because the CPPFLAGS has -I... components that included the src directories. Solution: The h5cc or h5pcc commands should have all the necessarily library include directories covered. Changed CPPFLAGS to search only the examples source directory for local header files. Platforms tested: No h5committest tests which do not check examples. Hand tested it in sol. --- examples/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Makefile.in b/examples/Makefile.in index 5fb9c8b..8895cb4 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -21,7 +21,7 @@ srcdir=@srcdir@ ## Replace building CC with the just installed h5cc H5CC=$(bindir)/h5cc H5CC_PP=$(bindir)/h5pcc -CPPFLAGS=-I. -I$(srcdir) -I$(top_builddir)/src -I$(top_srcdir)/src @CPPFLAGS@ +CPPFLAGS=-I. -I$(srcdir) CFLAGS= ## These are the programs that `make all' or `make tests' will build and which -- cgit v0.12