home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / ada / Examples / makefile
Encoding:
Makefile  |  1994-10-16  |  740 b   |  35 lines

  1. # Project: Ada examples
  2.  
  3. Adacomp = adacomp -d -l testlib
  4. Adabind = adabind -l testlib
  5. Adaexec = adaexec -l testlib
  6. CC = cc
  7.  
  8. all:    test_int sieve delay shell hello
  9.     wipe testlib ~cfr
  10.     wipe lis ~cfr
  11.     echo demos complete.
  12.  
  13. hello:;    $(Adacomp) -n hello.ada
  14.     $(Adabind)
  15.     $(Adaexec)
  16.  
  17. shell:;    $(Adacomp) -n io.ada
  18.     $(Adacomp) random_
  19.     $(Adacomp) random
  20.     $(Adacomp) shell_
  21.     $(Adacomp) shelltest
  22.     $(Adabind) -m shell_sort_test
  23.     $(Adaexec) -te -m shell_sort_test <dat.shell
  24.  
  25. delay:;    $(Adacomp) -n -m delay_test -b delay_test
  26.     $(Adaexec) -m delay_test
  27.  
  28. sieve:;    $(Adacomp) -m sieve_pump -b sieve_pump
  29.     - $(Adaexec) -m sieve_pump -p 1 -s 1 -h 8
  30.  
  31. test_int:;    $(CC) -c proc.c
  32.     $(Adacomp) -n -i proc.o -m c_interfaces -b test_int
  33.     $(Adaexec) -m c_interfaces
  34.  
  35.