1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-13 20:57:06 +01:00

Hadrons is now a library, the previous XML driven program is now a test

This commit is contained in:
2016-12-01 21:36:29 +09:00
parent d8b716d2cd
commit 9ad3d3453e
49 changed files with 99 additions and 36 deletions

View File

@ -24,10 +24,11 @@ for subdir in $dirs; do
echo "tests: ${TESTLIST} ${SUB}" > Make.inc
echo ${PREF}_PROGRAMS = ${TESTLIST} >> Make.inc
echo >> Make.inc
HADLINK=`[ $subdir = './hadrons' ] && echo '-lHadrons'`
for f in $TESTS; do
BNAME=`basename $f .cc`
echo ${BNAME}_SOURCES=$f >> Make.inc
echo ${BNAME}_LDADD=-lGrid>> Make.inc
echo ${BNAME}_SOURCES=$f >> Make.inc
echo ${BNAME}_LDADD=-lGrid ${HADLINK} >> Make.inc
echo >> Make.inc
done
if [ $subdir != '.' ]; then