home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / desklib / sources / DeskLib / !DLSources / Libraries / PDriver / Static / Makefile < prev   
Encoding:
Makefile  |  1995-07-09  |  1.4 KB  |  71 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.AbortJob    \
  4.             o.CancelJob    \
  5.             o.CancelJobW    \
  6.             o.CheckFeatu    \
  7.             o.CurrentJob    \
  8.             o.DrawPage    \
  9.             o.EndJob    \
  10.             o.EnumerateJ    \
  11.             o.GetRectang    \
  12.             o.GiveRectan    \
  13.             o.Info    \
  14.             o.InsertIllu    \
  15.             o.PageSize    \
  16.             o.PrintrName    \
  17.             o.ScreenDump    \
  18.             o.SelectIllu    \
  19.             o.SelectJob    \
  20.  
  21.  
  22. LibName        =    PDriver
  23.  
  24. # Template makefile which makes normal 
  25. # .o files for use in the main static
  26. # linking DeskLib.
  27.  
  28. # The macro $(ObjectFiles) should be set at the 
  29. # start of this file to be a space-separated
  30. # list of object files.
  31. # This is done by 'Makatic'.
  32.  
  33. # The macro $(LibName) should also be set at the 
  34. # start of this file, to be the name of the 
  35. # DeskLib sublibrary.
  36. # This is done by 'Makatic'.
  37.  
  38. # Compiler and linker flags, These can be anything. 
  39. # All essential flags are included in the macros 
  40. # $(CC) and $(ASM)
  41. #
  42. CCFlags        =    -ffahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  43. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  44.  
  45. CC        =    cc -c $(CCFlags)
  46. ASM        =    objasm $(ASMFlags)
  47.  
  48.  
  49. # -------------------------------------------------------
  50. # Everything below here should probably not be changed...
  51. # -------------------------------------------------------
  52.  
  53. # Here's what we want to make...
  54. #
  55. All:        $(ObjectFiles)
  56.  
  57.  
  58. VPATH = @.^
  59.  
  60. .SUFFIXES:    .c .s .o
  61.  
  62. .c.o:
  63.     $(CC) $< -o $@
  64.     
  65. .s.o:
  66.     $(ASM) -from $< -to $@
  67.  
  68.  
  69.  
  70. # Dynamic dependencies:
  71.