Makefile.am 2.02 KB
Newer Older
1
# This file is part of SWIFT.
2
# Copyright (c) 2015 matthieu.schaller@durham.ac.uk.
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# 
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# Add the source directory and debug to CFLAGS
18
AM_CFLAGS = -I$(top_srcdir)/src $(HDF5_CPPFLAGS) -DTIMER
19

20
21
22

AM_LDFLAGS = ../src/.libs/libswiftsim.a $(HDF5_LDFLAGS) $(HDF5_LIBS)

23
# List of programs and scripts to run in the test suite
24
25
26
TESTS = testGreetings testMaths testReading.sh testSingle testKernel testSymmetry \
	testPair.sh testPairPerturbed.sh test27cells.sh test27cellsPerturbed.sh \
	testParser.sh testSPHStep 
27

28
# List of test programs to compile
29
30
check_PROGRAMS = testGreetings testMaths testReading testSingle testKernel testSymmetry \
		 testTimeIntegration testSPHStep testPair test27cells testParser testInteractions
31
32
33

# Sources for the individual programs
testGreetings_SOURCES = testGreetings.c
34

35
36
testMaths_SOURCES = testMaths.c

37
testReading_SOURCES = testReading.c
38

39
40
41
42
testKernel_SOURCES = testKernel.c

testSymmetry_SOURCES = testSymmetry.c

43
testTimeIntegration_SOURCES = testTimeIntegration.c
Matthieu Schaller's avatar
Matthieu Schaller committed
44

45
46
testSPHStep_SOURCES = testSPHStep.c

47
testSingle_SOURCES = testSingle.c
48

49
testPair_SOURCES = testPair.c
50

51
52
test27cells_SOURCES = test27cells.c

53
testParser_SOURCES = testParser.c
54

55
testInteractions_SOURCES = testInteractions.c
56

57
# Files necessary for distribution
58
EXTRA_DIST = testReading.sh makeInput.py testPair.sh testPairPerturbed.sh \
59
	     test27cells.sh test27cellsPerturbed.sh tolerance.dat testParser.sh \
60
	     testParserInput.yaml