mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-25 17:00:45 +08:00
[svn-r3537] Purpose:
Bug Fix Description: Wasn't building the test programs if user simply did a build with ``make check'' instead of ``make all && make check''. Solution: Put the test programs in the TEST_PROGS macro so that they'd be built. Platforms tested: Linux
This commit is contained in:
parent
038e7301a4
commit
cc647cfe5f
@ -27,7 +27,7 @@ TEST_OBJ=$(TEST_SRC:.cpp=.lo)
|
||||
|
||||
## These are the programs that `make all' or `make tests' will build and which
|
||||
## `make check' will run. List them in the order they should be run.
|
||||
PROGS=$(TEST_SRC:.cpp=)
|
||||
TEST_PROGS=$(TEST_SRC:.cpp=)
|
||||
|
||||
TEST_SCRIPTS=$(srcdir)/testexamples.sh
|
||||
|
||||
@ -36,7 +36,7 @@ TEST_SCRIPTS=$(srcdir)/testexamples.sh
|
||||
CLEAN=
|
||||
|
||||
## How to build the programs... they all depend on the Fortran & C hdf5 libraries
|
||||
$(PROGS): $(LIB) $(LIBHDF5)
|
||||
$(TEST_PROGS): $(LIB) $(LIBHDF5)
|
||||
|
||||
compound: compound.lo
|
||||
@$(LT_LINK_EXE) $(CXXFLAGS) -o $@ compound.lo $(LDFLAGS) $(LIB) $(LIBS) $(LIBHDF5)
|
||||
|
Loading…
x
Reference in New Issue
Block a user