home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / opus / v5 / compare_source / source / makefile < prev    next >
Makefile  |  1977-12-31  |  2KB  |  61 lines

  1. # Makefile for compare.module by Leo Davidson
  2.  
  3. # Originally based on the makefile for example.module from the OpusSDK.
  4.  
  5. MODULEOBJS = compare.module.o compare.module_strings.o ResourceNodes.o
  6. MODULEVER  = 1
  7. MODULEREV  = 1
  8.  
  9. # Compiler options -- The OPTIMIZE line should be used for release versions.
  10. #CCOPTS = noversion
  11. CCOPTS = noversion OPTIMIZE
  12. #CCOPTS = noversion DEBUG=LINE
  13.  
  14. # Linker options
  15. SLINKOPTS = noicons stripdebug smallcode smalldata
  16. #SLINKOPTS = noicons smallcode smalldata
  17.  
  18. #########################################################################
  19.  
  20. compare.module: $(MODULEOBJS) compare.module.h
  21.     slink with <<
  22. libprefix _L_
  23. libfd modules.fd
  24. from lib:libent.o lib:libinit.o lib:modinit.o $(MODULEOBJS)
  25. to $@
  26. lib lib:sc.lib lib:amiga.lib lib:dopuslib.lib
  27. libversion $(MODULEVER)
  28. librevision $(MODULEREV)
  29. $(SLINKOPTS)
  30. <
  31.  
  32. #########################################################################
  33.  
  34. compare.module.o: compare.module.c compare.module_strings.o
  35. compare.module.o: ResourceNodes.o compare.module.h
  36.  
  37. #########################################################################
  38.  
  39. compare.module_strings.o: compare.module.strings
  40.     setdate compare.module_strings.c
  41.     sc $(CCOPTS) compare.module_strings.c
  42.  
  43. #########################################################################
  44.  
  45. ResourceNodes.o: ResourceNodes.c ResourceNodes.h compare.module.h
  46. ResourceNodes.o: compare.module.strings
  47.  
  48. #########################################################################
  49.  
  50. .c.o:
  51.     sc $(CCOPTS) $*.c
  52. .asm.o:
  53.     sc:c/asm -iASMINC: $*.asm
  54. .cd.strings:
  55.     catcomp descriptor=$*.cd cfile=$*.strings
  56.  
  57. #########################################################################
  58.  
  59. clean:
  60.     -@delete \#?.(o|strings)
  61.