home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / math / ols / makefile < prev    next >
Makefile  |  1993-07-28  |  1KB  |  44 lines

  1.  
  2. NEWAWK=gawk
  3. # you choose gawk or nawk or whatever
  4. CINIT=-v
  5. # this is about how variables are initialised on the
  6. # commandline when running awk.  You need a "$(CINIT)" with
  7. # gawk, and nothing with nawk (i.e., say "CINIT=")
  8.  
  9. test :
  10.     @echo 1. Testing without "free" and without t-stats.
  11.     $(NEWAWK) -f epp2tex.nawk demo.epp > epp.out
  12.     -diff epp.out result.ft
  13.  
  14.     @echo ""; echo 2. Testing with free but not t
  15.     $(NEWAWK) -f epp2tex.nawk $(CINIT) putfree=1 demo.epp > epp.out
  16.     -diff epp.out result.Ft
  17.  
  18.     @echo ""; echo 3. Testing with t but not free
  19.     $(NEWAWK) -f epp2tex.nawk $(CINIT) putt=1 demo.epp > epp.out
  20.     -diff epp.out result.fT
  21.  
  22.     @echo ""; echo 4. Testing with t and with free
  23.     $(NEWAWK) -f epp2tex.nawk $(CINIT) putt=1 $(CINIT) putfree=1 demo.epp > epp.out
  24.     -diff epp.out result.FT
  25.  
  26.     @echo ""; echo 5. Testing with OLS demo
  27.     $(NEWAWK) -f epp2tex.nawk $(CINIT) putt=1 ols.epp > epp.out
  28.     -diff epp.out result.ols
  29.  
  30.     @/bin/rm -f epp.out
  31.  
  32. doc :
  33.     latex epp-doc.tex
  34.     /bin/csh /max/a/TeX/bin/dvips -r epp-doc.dvi
  35.     rm -f tex.pro *.aux *.dvi *.log
  36.  
  37. post : clean
  38.     shar * > /tmp/a.shar
  39.     /bin/mv /tmp/a.shar ./epp.shar
  40.  
  41. clean :
  42.     rm -f epp.shar epp.out epp-doc.dvi epp-doc.ps
  43.  
  44.