summaryrefslogtreecommitdiffstats
path: root/testpar/Makefile.in
blob: 2f6e5d823b49c436b98b2a47761b0a390e038295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# hdf5 Parallel Library Test Makefile(.in)
#
# Copyright (C) 1998 National Center for Supercomputing Applications
#                    All rights reserved
#
#
@COMMENCE@

# Add the include directory to the C preprocessor flags the the hdf5 library
# to the library list.  Also add the -DUSE_PAUSE to get the test files to
# pause until a `go' file exists in order to attach a debugger.
CPPFLAGS=-I. -I../src -DUSE_PAUSE @CPPFLAGS@
LIBS=../src/libhdf5.a @LIBS@

# These tests are parallel
RUNTEST=$(RUNPARALLEL)

# These are our main targets
TESTS=testphdf5

# Temporary files
MOSTLYCLEAN=ParaEg[123].h5f
DISTCLEAN=go

# Test source files
TEST_SRC=testphdf5.c t_dset.c t_file.c
TEST_OBJ=$(TEST_SRC:.c=.o)
PRIVATE_HDR=testphdf5.h

# How to build the tests... They all depend on the hdf5 library
$(TESTS): ../src/libhdf5.a

testphdf5: testphdf5.o t_dset.o t_file.o
	$(CC) $(CFLAGS) -o $@ testphdf5.o t_dset.o t_file.o $(LDFLAGS) $(LIBS)

@CONCLUDE@