From 7163b31a26bba90241480fe444a3584cd66f5893 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 20 Aug 2021 01:15:23 +0100 Subject: [PATCH] Examples --- scripts/filelist | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/scripts/filelist b/scripts/filelist index 8e29ba88..c3f0cf3f 100755 --- a/scripts/filelist +++ b/scripts/filelist @@ -82,3 +82,18 @@ for f in $TESTS; do echo >> Make.inc done cd .. + +# examples Make.inc +cd $home/examples/ +echo> Make.inc +TESTS=`ls *.cc` +TESTLIST=`echo ${TESTS} | sed s/.cc//g ` +echo bin_PROGRAMS = ${TESTLIST} > Make.inc +echo >> Make.inc +for f in $TESTS; do + BNAME=`basename $f .cc` + echo ${BNAME}_SOURCES=$f >> Make.inc + echo ${BNAME}_LDADD='$(top_builddir)/Grid/libGrid.a'>> Make.inc + echo >> Make.inc +done +cd ..