home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 122.lha / Arp_v1.1 / Libraries / Manx_SRC / Makefile < prev    next >
Encoding:
Makefile  |  1986-11-21  |  1.6 KB  |  71 lines

  1. # makefile for arp.library binders and startup code for Aztec
  2. # Basically, create two types of lib, arp.lib which could stand
  3. # alone, has it's own startup code, etc.
  4. #
  5. # And a.lib, which is just the binding functions.  If you use a.lib
  6. # then you must Open arplibrary (and intuition and graphics).
  7. #
  8. # Created by -=+SDB+=- 11/09/87
  9. #
  10. # Modified -=+SDB+=- 02-20-88, add entries for makeing resident stuff
  11. # rstart and res.lib
  12. #
  13. CFLAGS=+b
  14. .c.o:
  15.     cc $(CFLAGS) -o $@ $*.c
  16. .s.o:
  17.     as -o $@ $*.s
  18.  
  19. .c.o32:
  20.     cc +l $(CFLAGS) -o $@ $*.c
  21.  
  22. .s.o32:
  23.     as -EINT32 -o $@ $*.s
  24.  
  25. # WARNING: The order of the following IS SIGNIFICANT, do not change unless
  26. #          you have specific reason to do so.
  27. #
  28. STARTUP=arpcrt0.o _arpmain.o arpcliparse.o arpexit.o _arpexit.o arpvars.o\
  29.         AztecGlue.o
  30. STARTUP32=arpcrt0.o32 _arpmain.o32 arpcliparse.o32 arpexit.o32 _arpexit.o32\
  31.         arpvars.o32 AztecGlue.o32
  32.  
  33. RESLIB=resgeta4.o _arpmain.o arpcliparse.o arpexit.o _arpexit.o\
  34.     arpvars.o AztecGlue.o
  35. RESLIB32=resgeta4.o32 _arpmain.o32 arpcliparse.o32 arpexit.o32 _arpexit.o32\
  36.     arpvars.o32 AztecGlue.o32
  37.  
  38. ARPFUNCS=AztecGlue.o
  39. ARPFUNCS32=AztecGlue.o32
  40.  
  41. all:    arp.lib    a.lib arp32.lib a32.lib rstart rstart32 res.lib res32.lib clean
  42.  
  43. arp.lib:    $(STARTUP)
  44.         lb arp.lib -v $(STARTUP)
  45.  
  46. a.lib:         $(ARPFUNCS)
  47.         lb a.lib -v $(ARPFUNCS)
  48.  
  49. arp32.lib:    $(STARTUP32)
  50.         lb arp32.lib -v $(STARTUP32)
  51.  
  52. a32.lib:    $(ARPFUNCS32)
  53.         lb a32.lib -v $(ARPFUNCS32)
  54.  
  55. rstart:        arprescrt0.s
  56.         as arprescrt0.s -o rstart.x
  57.  
  58. rstart32:    arprescrt0.s
  59.         as -EINT32 -o rstart32.x arprescrt0.s
  60.  
  61. res.lib:    $(RESLIB)
  62.         lb res.lib -v $(RESLIB)
  63.  
  64. res32.lib:    $(RESLIB32)
  65.         lb res32.lib -v $(RESLIB32)
  66. clean:
  67.         delete *.o *.o32 QUIET
  68.         @Rename *.x *.o
  69.  
  70.  
  71.