home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 10 / AU_CD10.iso / Updates / DigitalCD / PlayIt164 / !PlayIt / AOF / make < prev    next >
Text File  |  1999-11-18  |  1KB  |  58 lines

  1. # Project:    PlayIt
  2.  
  3. CC    =    cc
  4. AS    =    asm
  5. LK    =    drlink
  6. CCFLAGS    =    -c -depend !Depend -IOS: -IC: -throwback -D__swi -fafh
  7. ASFLAGS    =    -throwback
  8. LKFLAGS    =    -no -rescan
  9.  
  10. # macros for the library
  11. LIBFILE    =    o.PlayIt
  12. LIBS    =    o.playitv o.playitap
  13. CLIB    =    C:o.GCCstubs
  14. OSLIB    =    OSLib:o.OSLib
  15.  
  16. # macrosf for the test program
  17. TEST    =    Test
  18. ENSURE    =    PlayIt:Ensure
  19.  
  20. .SUFFIXES:    .o .c .s
  21.  
  22. # Final targets:
  23. PlayIt:        $(LIBFILE) $(TEST) $(ENSURE)
  24.  
  25. # how to make the main library file
  26. $(LIBFILE):    $(LIBS)
  27.         LibFile -c -o $(LIBFILE) $(LIBS)
  28.  
  29. # how to make the test program
  30. $(TEST):    o.test $(LIBFILE)
  31.         $(LK) $(LKFLAGS) -o $(TEST) o.test $(LIBFILE) $(CLib)
  32.  
  33. # how to make the ensure program
  34. $(ENSURE):    o.ensure $(LIBFILE)
  35.         $(LK) $(LKFLAGS) -o $(ENSURE) o.ensure $(LIBFILE) $(CLib) $(OSLIB)
  36.  
  37. # how to make independent object files
  38. .c.o:;        $(CC) $(CCFLAGS) -o $@ $<
  39. .s.o:;        $(AS) $(ASFLAGS) -o $@ $<
  40.  
  41. # Dynamic dependencies:
  42. o.test:    c.test
  43. o.test:    C:h.kernel
  44. o.test:    h.playitap
  45. o.test:    h.playit
  46. o.playitap:    c.playitap
  47. o.playitap:    h.playitap
  48. o.playitap:    h.playit
  49. o.playitap:    C:h.kernel
  50. o.ensure:    c.ensure
  51. o.ensure:    OS:h.os
  52. o.ensure:    OS:h.types
  53. o.ensure:    OS:h.wimp
  54. o.ensure:    OS:h.osspriteop
  55. o.ensure:    OS:h.font
  56. o.ensure:    h.playitap
  57. o.ensure:    h.playit
  58.