home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / converters / audiompeg_1 / !AudioMPEG / MakeDecode < prev    next >
Text File  |  1995-05-16  |  2KB  |  46 lines

  1.  
  2. #           -------------------------------------------------------
  3. #         |                   Toolflags                      |
  4. #           -------------------------------------------------------
  5. .SUFFIXES:        .c .o .s
  6. CCFlags         = -c -throwback -IC: -ff
  7. ASMflags        = -ThrowBack -Stamp -quit -CloseExec
  8. LinkFlags       = -o $@
  9. SqueezeFlags    = -f -v
  10.  
  11. #           -------------------------------------------------------
  12. #        |                  Macro definitions                  |
  13. #           -------------------------------------------------------
  14.  
  15. CC              = cc
  16. ASM        = objasm
  17. LINK        = link
  18. Libs            = C:o.RISC_OSLib DeskLib:o.DeskLib C:o.Stubs
  19.  
  20. OBJECTS = o.musicout o.common o.decode o.subs
  21.  
  22.  
  23. #           -------------------------------------------------------
  24. #        |                    Final target                     |
  25. #           -------------------------------------------------------
  26. decode:     $(OBJECTS)
  27.             Link $(LinkFlags) $(Objects) $(Libs)
  28.             squeeze $(SqueezeFlags) Decode
  29.  
  30.  
  31. #           -------------------------------------------------------
  32. #        |                 Static dependencies                 |
  33. #           -------------------------------------------------------
  34. .c.o:;          $(CC) $(CCflags) $< -o $@
  35.  
  36. .s.o:;          $(ASM) $(ASMflags) -from $< -to $@
  37.  
  38.  
  39. #           -------------------------------------------------------
  40. #        |                 Dynamic dependencies                |
  41. #           -------------------------------------------------------
  42. o.decode:       h.common h.decoder
  43. o.common:       h.common
  44. o.musicout:     h.common h.decoder
  45. o.subs:         h.common h.encoder
  46.