home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / historic / v941.tgz / icon.v941src.tar / icon.v941src / tests / general / Makefile < prev    next >
Makefile  |  2002-02-25  |  565b  |  34 lines

  1. #  Makefile for testing Icon
  2.  
  3.  
  4. SAMPLES = btrees diffwrds kross meander prefix recogn roman sieve wordcnt
  5.  
  6.  
  7.  
  8. # default is to run all tests, using icont
  9.  
  10. Test Test-icont:
  11.         IC=icont sh Test-icon
  12.  
  13. Samples Samples-icont:
  14.         IC=icont sh Test-icon $(SAMPLES)
  15.  
  16.  
  17. Test-iconc:
  18.         IC=iconc sh Test-icon
  19.  
  20. Samples-iconc:
  21.         IC=iconc sh Test-icon $(SAMPLES)
  22.  
  23.  
  24. # test various command options
  25.  
  26. Test-options:
  27.         sh Test-opts >options.out
  28.         cmp options.ok options.out
  29.  
  30.  
  31. Clean:
  32.         -rm -f *.u? *.c *.h foo.baz tmp1 tmp2 *.out
  33.         -rm -f xx `find * -type f -perm -100 ! -name 'Test-*' -print`
  34.