home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / MM1 / SOUNDUTILS / audioplay.lzh / AUDIOPLAY / SRC / Makefile < prev    next >
Makefile  |  1995-04-26  |  1KB  |  50 lines

  1. -bo
  2. #
  3. # Makefile for AudioPlay and Dial using Microware 3.2 K&R compiler
  4. #
  5. TEMP    = /r0
  6. CC      = cc
  7. ODIR    = ../cmds
  8. EDITION = 4
  9. DEBUG   = # -g
  10. CFLAGS  = $(DEBUG) -qst=$(TEMP) -v=/dd/defs/cgfx
  11. LFLAGS  = $(CFLAGS) -e=$(EDITION) -l=/dd/lib/cgfx.l
  12. RDIR    = RELS
  13. OFILES  = AudioPlay Dial
  14. RFILES  = auplay.r iffplay.r parse.r play.r vocplay.r wavplay.r
  15.  
  16. all                : $(OFILES)
  17.     @echo Done
  18.  
  19. install            : $(ODIR)/AudioPlay $(ODIR)/Dial
  20.     chd $(ODIR) ; copy * -rw=/dd/CMDS
  21.  
  22. realclean        : clean
  23.     del $(ODIR)/*
  24.  
  25. clean            :
  26.     del $(RDIR)/*.r
  27.  
  28. lzh                :
  29.     chd ../..     ; lha -ur audioplay.lzh AUDIOPLAY
  30.  
  31. AudioPlay        : $(RFILES)
  32.     chd $(RDIR) ; $(CC) $(RFILES) $(LFLAGS) -fd=../$(ODIR)/$@
  33.     @attr $(ODIR)/$@ -epe
  34.  
  35. Dial            : dial.r
  36.     chd $(RDIR) ; $(CC) $*.r $(LFLAGS) -fd=../$(ODIR)/$@
  37.     @attr $(ODIR)/$@ -epe
  38.  
  39. # for AudioPlay
  40. auplay.r        : auplay.c play.h audio_filehdr.h ulaw.h
  41. iffplay.r        : iffplay.c play.h
  42. parse.r            : parse.c play.h
  43. play.r            : play.c play.h
  44. vocplay.r        : vocplay.c play.h
  45. wavplay.r        : wavplay.c play.h
  46.  
  47. # for dialer
  48. dial.r            : dial.c
  49.  
  50.