home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Utilities / Programming / ABZmonPPC 0.9 / test_deb_ƒ / test_deb.make < prev    next >
Encoding:
Text File  |  1995-11-29  |  867 b   |  29 lines  |  [TEXT/MPS ]

  1. test_deb ƒ test_deb.rsrc test_deb_a
  2.     set DIRtestDEB `Directory`
  3.     if "`exists -f -n {DIRtestDEB}test_deb`"
  4.         delete test_deb
  5.     end
  6.     rez test_deb.script -append -o test_deb
  7.     duplicate -y -d test_deb_a test_deb
  8.     for window in `Windows`
  9.         if "{window}" == {DIRtestDEB}"{test_deb}.s"
  10.             save "{window}"
  11.         end
  12.     end
  13.  
  14. test_deb_a ƒ test_deb.s.o
  15.     PPCLink -outputformat xcoff test_deb.s.o "{PPCLibraries}"InterfaceLib.xcoff "{PPCLibraries}"MathLib.xcoff -main "Entry_Point" -o test_deb.xcoff
  16.     if "`exists -f test_deb_a`"
  17.       delete test_deb_a
  18.     end
  19.     makePEF test_deb.xcoff -o test_deb_a -l InterfaceLib.xcoff=InterfaceLib -l MathLib.xcoff=MathLib -ft APPL -fc '????'
  20.  
  21. test_deb.s.o ƒ {test_deb}.s macro.set
  22.     PPCAsm -typecheck {test_deb}.s -o test_deb.s.o -i {AIncludes}
  23.  
  24.  
  25. # build and call with
  26. # make -d test_deb='test_deb_3' -f test_deb.make > test_deb.do
  27. # test_deb.do
  28. # test_deb
  29.