home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / TOP / USR / SRC / yahtzee.t.Z / yahtzee.t / makefile < prev    next >
Makefile  |  1988-11-29  |  2KB  |  67 lines

  1. # Define your brand of Unix here.
  2.  
  3. #### Berkeley Unix systems should use this
  4. # UNIX_BRAND= BSD
  5. #
  6. #### any System 5 less than 5.3 should define this
  7. # UNIX_BRAND= SYS5
  8. #
  9. #### define this for 5.3 or (gulp) later
  10. UNIX_BRAND= SYS5_3
  11.  
  12. # BIN - final resting place for yahtzee
  13. # BIN= $(HOME)/bin
  14.  
  15. # HSFILE - path for high score file, file will be created automatically
  16. #       by yahtzee and will need write permission for those using it
  17. # HSFILE= $(HOME)/lib/yahtzee.HS
  18.  
  19. # LDLIBS - libraries to get curses(3X) working
  20. #  BSD people require -ltermcap and -lcurses, SYS5 people only need -lcurses
  21. # LDLIBS= -lcurses
  22. # LDLIBS= -lcurses -ltermcap
  23.  
  24. # LDFLAGS - flags for the loader
  25. #  BSD people should leave this empty
  26. # LDFLAGS= $(CFLAGS)
  27. # LDFLAGS=
  28.  
  29. # FINAL - basename for program
  30. # FINAL= yahtzee
  31.  
  32. #
  33. #  ****** No real need to change anything below this line ******
  34. #
  35.  
  36. # HSSTRING - use this to get past sh(1) which will strip quotes
  37. # HSSTRING= '"$(HSFILE)"'
  38.  
  39. # MANENTRY= yahtzee.6
  40. # CFLAGS= -O -D$(UNIX_BRAND)
  41. # HIGHFLAG= -DHSFILE=$(HSSTRING)
  42.  
  43. CFLAGS =  -l=/dd/LIB/ncurses.l -l=/dd/LIB/os9lib.l -QT=/dd/TMP -DHSFILE="/h0/USR/GAMES/yahtzee.scores"
  44.  
  45. OBJECTS = best.r boxup.r comp_select.r dis_dice.r eval.r find.r finish.r\
  46.     get_m.r help.r high.r misc.r opthelp.r play_info.r rools.r\
  47.     shwin.r update_score.r yz.r costs.r shell.r values.r
  48.  
  49. yahtzee: $(OBJECTS)
  50.     cc $(OBJECTS) -f=/h0/USR/GAMES/CMDS/yahtzee $(CFLAGS) -m=10
  51.  
  52. $(OBJECTS): defs.h
  53.  
  54. misc.r: side.h
  55.  
  56. costs.r: costs.h
  57.  
  58. dis_dice.r: dice.h
  59.  
  60. help.r: help.h
  61.  
  62. # high.r: makefile
  63. #    cc -c $(CFLAGS) $(HIGHFLAG) high.c
  64.  
  65. rools.r: rools.h
  66.  
  67.