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 >
Wrap
Makefile
|
1989-03-04
|
2KB
|
52 lines
# Makefile for world and support programs for Unix
#
# The program has been tested and compiles and runs properly on the
# following systems:
#
# 1) VAX/VMS Digital CC compiler. No particular tricks are needed.
# 2) IBM PC-AT Xenix 1.00. It seems to be necessary to use the large
# memory model, although I'm not sure why since it runs on the
# same machine under DOS in the small model.
# 3) IBM PC under Microsoft C version 4.00. It works in the default
# small memory model if you compile with the -Os switch. Note
# that on this setup you MUST link the main program World with
# binmode.rbj, provided by Microsoft, for it to work right.
# Vtxtcn and vcnvrt must NOT be linked with binmode.rbj.
# This compiler generates a few harmless warning messages.
# You may need to use EXEMOD to increase the stack size.
# 4) VAX/4.3bsd Unix. No particular tricks needed.
#
# NOTE: Edit helper.c to adjust the pathname for q1text.dat for
# your particular system.
#
WHEADERS = arrays.h variab.h
WOBJS = demons.r helper.r motion.r parser.r verbs1.r verbs2.r world.r
OSKEXT= score.r
CFLAGS = -qt=/dd/TMP -g
LFLAGS= -qi -f=/h0/USR/GAMES/CMDS/$@ -l=/h0/LIB/os9lib.l -g
all: world
# install: world
# cp world /usr/games/world
# cp q1text.dat /usr/games/lib/q1text.dat
convert: vcnvrt vtxtcn vtext.dat
@echo "creating data files..."
/dd/vtxtcn
/dd/vcnvrt
touch convert
vtext.dat:
cat vtext.dat.aa vtext.dat.ab vtext.dat.ac >vtext.dat
vcnvrt: vcnvrt.c
cc $(CFLAGS) -f=/dd/vcnvrt vcnvrt.c
vtxtcn: vtxtcn.c
cc $(CFLAGS) -f=/dd/vtxtcn vtxtcn.c
world: $(WOBJS) $(WHEADERS) $(OSKEXT)
cc $(LFLAGS) $(WOBJS) $(OSKEXT)