18 lines
453 B
Bash
18 lines
453 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# This script will:
|
||
|
# 1) Build the example executable in /tmp
|
||
|
# 2) Tell the user how to execute it
|
||
|
|
||
|
GNATMAKE=@PREFIX@/gcc-aux/bin/gnatmake
|
||
|
ADA_PROJECT_PATH=@PREFIX@/lib/gnat
|
||
|
export ADA_PROJECT_PATH
|
||
|
|
||
|
${GNATMAKE} -P example
|
||
|
|
||
|
echo
|
||
|
echo "The source for the example is tmeztf.adb"
|
||
|
echo "The executable example is located in /tmp/tmeztf"
|
||
|
echo "It requires no optons; just run it"
|
||
|
echo 'You may want to execute "rm /tmp/tmeztf*" when you are done.'
|