summaryrefslogtreecommitdiffstats
path: root/c++/examples
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-12-04 20:25:14 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-12-04 20:25:14 (GMT)
commite552b96ce3289133b462c1cb2be92ca667b2fb12 (patch)
treee97cd2a632c4716455cbca4cd56725df9063129f /c++/examples
parentca459c1d43f8fc6837f31dec774b7947c49a318a (diff)
downloadhdf5-e552b96ce3289133b462c1cb2be92ca667b2fb12.zip
hdf5-e552b96ce3289133b462c1cb2be92ca667b2fb12.tar.gz
hdf5-e552b96ce3289133b462c1cb2be92ca667b2fb12.tar.bz2
[svn-r3074] Purpose:
Improvement Description: Made the Makefiles better. Solution: Added standard macros concerning where things are place. Like libraries and so forth. Platforms tested: Linux
Diffstat (limited to 'c++/examples')
-rw-r--r--c++/examples/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index a11dc08..ac6233d 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -1,4 +1,4 @@
-## HDF5-C++ test/Makefile(.in)
+## HDF5-C++ examples/Makefile(.in)
##
## Copyright (C) 2000 National Center for Supercomputing Applications.
## All rights reserved.
@@ -9,12 +9,13 @@ top_builddir=../..
srcdir=@srcdir@
@COMMENCE@
+hdf5_srcdir=$(top_srcdir)/src
hdf5_builddir=$(top_builddir)/src
## Add include directory to the C++ preprocessor flags and the hdf5
## library to the library list.
LIB=../src/libhdf5_cpp.la
-CPPFLAGS=-I. -I$(srcdir) -I../src -I../../src -I$(top_srcdir)/src -I$(srcdir)/../src @CPPFLAGS@
+CPPFLAGS=-I. -I../src -I$(srcdir)/../src -I$(hdf5_builddir) -I$(hdf5_srcdir) @CPPFLAGS@
LIBHDF5=$(hdf5_builddir)/libhdf5.la
## List all source files here. The list of object files will be