home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #6 / amigamamagazinepolishissue1998.iso / opus / v5 / opussdk / examples / iconclock / makefile < prev    next >
Makefile  |  1977-12-31  |  1KB  |  62 lines

  1. # Makefile for a sample Opus 5 module
  2.  
  3. # This is based on the structure of the real Opus makefile, but may be
  4. # adapted as you see fit
  5.  
  6. # Standard modules and libraries
  7. #DEBUGLIB    =   lib:debug.lib
  8. DEBUGLIB    =
  9. STDOBJS     =   
  10.  
  11.  
  12. # Files for this module
  13. ICONCLOCKOBJS   =   iconclock.o iconclock_data.o iconclock_strings.o
  14. ICONCLOCKVER    =   1
  15. ICONCLOCKREV    =   0
  16.  
  17.  
  18. # Compiler options
  19. CCOPTS = 
  20. #CCOPTS      =   DEBUG=LINE
  21.  
  22. #########################################################################
  23.  
  24. all:         iconclock.strings iconclock.module
  25.  
  26. #########################################################################
  27.  
  28. # This will create the string file
  29. iconclock_strings.o : iconclock.strings
  30.     setdate iconclock_strings.c
  31.     sc iconclock_strings.c
  32.  
  33. #########################################################################
  34.  
  35. iconclock.module: $(STDOBJS) $(ICONCLOCKOBJS)
  36.     slink with <<
  37. libprefix _L_
  38. libfd modules.fd
  39. from lib:libent.o lib:libinit.o lib:modinit.o $(STDOBJS) $(ICONCLOCKOBJS)
  40. to $@
  41. lib lib:sc.lib lib:amiga.lib $(DEBUGLIB) lib:dopuslib.lib
  42. libversion $(ICONCLOCKVER)
  43. librevision $(ICONCLOCKREV)
  44. noicons
  45. sc sd 
  46. <
  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 ~(\#?_strings).o quiet
  61.     setdate \#?.cd
  62.