home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / scnote / signals.012 / TestCignal.make < prev    next >
Encoding:
Text File  |  1988-11-01  |  1.6 KB  |  54 lines

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    Exception handling for MPW Pascal, MacApp and MPW C
  5. #
  6. #    UFailure (aka Signals) - ╥Exceptional code, with a few exceptions.╙
  7. #
  8. #    TestCignal.make    -    Makefile for c access to enhanced UFailure
  9. #
  10. #    Copyright ⌐ 1985-1988 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    1.0                    11/88
  14. #
  15. #    Components:    UFailure.p            November 1, 1988
  16. #                UFailure.h            November 1, 1988
  17. #                UFailure.inc1.p        November 1, 1988
  18. #                UFailure.a            November 1, 1988
  19. #                TestCignal.c        November 1, 1988
  20. #                TestCignal.make        November 1, 1988
  21. #                TestSignal.p        November 1, 1988
  22. #                TestSignal.make        November 1, 1988
  23. #
  24. #    UFailure (or Signals) is a set of exception handling routines suitable for
  25. #    use with MacApp, MPW C, and MPW Pascal. It is a jazzed-up version of the MacApp
  26. #    UFailure unit. There is a set of C interfaces to it as well.
  27. #
  28.  
  29. # turn on debugging information (use 0 to turn it off)
  30. AOptions = -d &Debug=1
  31. POptions = -d qDebug=TRUE -mbg ch8
  32. # if you set qDebug to FALSE you should use -mbg off
  33. COptions =  -mbg ch8
  34.  
  35. UFailure.o        ─    UFailure.p.o UFailure.a.o
  36.     Lib UFailure.p.o UFailure.a.o -o UFailure.o
  37.     
  38. UFailure.p.o ── UFailure.p UFailure.inc1.p
  39.     
  40. TestCignal        ─    TestCignal.c.o UFailure.o
  41.     Link -w -c 'MPS ' -t MPST TestCignal.c.o ╢
  42.         -sn STDIO=Main ╢
  43.         -sn INTENV=Main ╢
  44.         -sn %A5Init=Main ╢
  45.         UFailure.o ╢
  46.         "{CLibraries}"CRuntime.o ╢
  47.         "{CLibraries}"StdCLib.o ╢
  48.         "{CLibraries}"CInterface.o ╢
  49.         "{Libraries}"Interface.o ╢
  50.         "{Libraries}"ToolLibs.o ╢
  51.         -o TestCignal
  52. # note that we could link with stubs to reduce the tool size (see the Count
  53. # MPW tool example)
  54.