home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / TOP / USR / SRC / world.t.Z / world.t / Makefile < prev    next >
Makefile  |  1989-03-04  |  2KB  |  52 lines

  1. # Makefile for world and support programs for Unix
  2. #
  3. # The program has been tested and compiles and runs properly on the
  4. # following systems:
  5. # 1)  VAX/VMS Digital CC compiler. No particular tricks are needed.
  6. # 2)  IBM PC-AT Xenix 1.00. It seems to be necessary to use the large
  7. #     memory model, although I'm not sure why since it runs on the
  8. #     same machine under DOS in the small model.
  9. # 3)  IBM PC under Microsoft C version 4.00. It works in the default
  10. #     small memory model if you compile with the -Os switch. Note
  11. #     that on this setup you MUST link the main program World with
  12. #     binmode.rbj, provided by Microsoft, for it to work right.
  13. #     Vtxtcn and vcnvrt must NOT be linked with binmode.rbj.
  14. #     This compiler generates a few harmless warning messages.
  15. #     You may need to use EXEMOD to increase the stack size.
  16. # 4)  VAX/4.3bsd Unix. No particular tricks needed.
  17. #
  18. # NOTE: Edit helper.c to adjust the pathname for q1text.dat for
  19. # your particular system.
  20. #
  21.  
  22. WHEADERS = arrays.h variab.h
  23. WOBJS = demons.r helper.r motion.r parser.r verbs1.r verbs2.r world.r
  24. OSKEXT=    score.r
  25. CFLAGS = -qt=/dd/TMP -g
  26. LFLAGS=    -qi -f=/h0/USR/GAMES/CMDS/$@ -l=/h0/LIB/os9lib.l -g
  27. all:    world
  28.  
  29. # install:     world
  30. #    cp world /usr/games/world
  31. #    cp q1text.dat /usr/games/lib/q1text.dat
  32.  
  33. convert:    vcnvrt vtxtcn vtext.dat
  34.     @echo "creating data files..."
  35.     /dd/vtxtcn
  36.     /dd/vcnvrt
  37.     touch convert
  38.  
  39. vtext.dat:
  40.     cat vtext.dat.aa vtext.dat.ab vtext.dat.ac >vtext.dat
  41.  
  42. vcnvrt:    vcnvrt.c
  43.     cc $(CFLAGS) -f=/dd/vcnvrt vcnvrt.c
  44.  
  45. vtxtcn:    vtxtcn.c
  46.     cc $(CFLAGS) -f=/dd/vtxtcn vtxtcn.c
  47.  
  48. world:    $(WOBJS) $(WHEADERS) $(OSKEXT)
  49.     cc $(LFLAGS) $(WOBJS) $(OSKEXT)
  50.  
  51.