home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / MUSIC / POLYTC.ZIP / MAKEFILE < prev    next >
Text File  |  1987-12-30  |  838b  |  27 lines

  1. #    This is the makefile for the polyphonic music programs.
  2.  
  3. SHELL = /cmds/sh
  4. DBUG = "de=DBUG=1"
  5. LIB_CHK = /lib/directory
  6. LIBS = l=/lib l=/ulib l=/mathlib
  7. INCLUDES =
  8.  
  9. ALL: $(WHERE)poly_xlate $(WHERE)poly_play
  10.     date >ALL
  11.     @echo MAKE\: All polyphonic music programs are up to date
  12.  
  13. $(WHERE)poly_xlate:    .lib/poly_xlate.o $(LIB_CHK)
  14.     link /lib/entry.o +v c=$(WHERE)poly_xlate .lib/poly_xlate.o $(LIBS)
  15.     @echo MAKE\:  poly_xlate is up to date
  16.  
  17. $(WHERE)poly_play:    .lib/poly_play.o $(LIB_CHK)
  18.     link /lib/entry.o +v c=$(WHERE)poly_play m=poly_play.map .lib/poly_play.o $(LIBS)
  19.     sort poly_play.map f=1,2,3 +r
  20.     @echo MAKE\:  poly_play is up to date
  21.  
  22. .lib/poly_xlate.o: poly_xlate.c $(INCLUDES)
  23.     cc +p +Wc,+u -c poly_xlate O=.lib $(DEBUG)
  24.  
  25. .lib/poly_play.o: poly_play.c $(INCLUDES)
  26.     cc +p +Wc,+u -c poly_play O=.lib $(DEBUG)
  27.