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

  1. # Makefile for the icon clock
  2.  
  3. # Standard modules and libraries
  4. #DEBUGLIB    =   lib:debug.lib
  5. DEBUGLIB    =
  6. STDOBJS     =   
  7.  
  8.  
  9. # Files for this program
  10. VIEWFONTOBJS   =   viewfont.o viewfont_data.o viewfont_strings.o
  11.  
  12.  
  13. # Compiler options
  14. CCOPTS = 
  15. #CCOPTS      =   DEBUG=LINE
  16.  
  17. #########################################################################
  18.  
  19. all:         viewfont_strings.o ViewFont
  20.  
  21. #########################################################################
  22.  
  23. # This will create the string file
  24. viewfont_strings.o : viewfont.strings
  25.     setdate viewfont_strings.c
  26.     sc viewfont_strings.c
  27.  
  28. #########################################################################
  29.  
  30. ViewFont: $(STDOBJS) $(VIEWFONTOBJS)
  31.     slink with <<
  32. from lib:c.o $(STDOBJS) $(VIEWFONTOBJS)
  33. to $@
  34. lib lib:sc.lib lib:amiga.lib $(DEBUGLIB) lib:dopus.lib
  35. noicons
  36. sc sd 
  37. nd
  38. <
  39.  
  40. #########################################################################
  41.  
  42. .c.o:
  43.     sc $(CCOPTS) $*.c
  44. .asm.o:
  45.     sc:c/asm -iASMINC: $*.asm
  46. .cd.strings:
  47.     catcomp descriptor=$*.cd cfile=$*.strings
  48.  
  49. #########################################################################
  50.  
  51. clean:
  52.     delete ~(\#?_strings).o quiet
  53.     setdate \#?.cd
  54.