Build the benchmark in bench/gspn-ssp/ using makefiles
This commit is contained in:
parent
b83349d416
commit
56d1dbc610
20 changed files with 8643 additions and 146 deletions
|
|
@ -1,7 +1,24 @@
|
|||
name=$(basename $(pwd))
|
||||
dst=../../models/$name$sfx
|
||||
mkdir "$dst"
|
||||
bname=$(basename $name)
|
||||
dst=models/$bname$sfx
|
||||
|
||||
FILES=
|
||||
for ext in con net prop; do
|
||||
cp "$name".$ext "$dst/$name$sfx.$ext"
|
||||
echo " cp '\$(srcdir)/$name/$bname.$ext' $dst/$bname$sfx.$ext" >>tmp$$
|
||||
FILES="$FILES $name/$bname.$ext"
|
||||
done
|
||||
test -f "$name".gd && cp "$name".gd "$dst/$name$sfx.gd"
|
||||
if test -f "$name/$bname.gd"; then
|
||||
echo " cp '\$(srcdir)/$name/$bname.gd' $dst/$bname$sfx.gd" >>tmp$$
|
||||
FILES="$FILES $name/$bname.gd"
|
||||
fi
|
||||
|
||||
finish()
|
||||
{
|
||||
echo
|
||||
echo "TEMPLATES +=$FILES $name/gen"
|
||||
echo "MODELS += $dst/stamp"
|
||||
echo "$dst/stamp:$FILES"
|
||||
echo " mkdir -p '$dst'"
|
||||
cat tmp$$
|
||||
rm -f tmp$$
|
||||
echo ' touch $@'
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue