head     1.3;
branch   ;
access   ;
symbols  ;
locks    bin:1.3;
comment  @@;


1.3
date     93.06.23.08.26.56;  author bin;  state Exp;
branches ;
next     1.2;

1.2
date     91.04.18.15.40.49;  author bin;  state Exp;
branches ;
next     1.1;

1.1
date     91.04.18.15.36.42;  author bin;  state Exp;
branches ;
next     ;


desc
@bob h created to build /usr/games on romana
@


1.3
log
@bob: added almanac
@
text
@
#Makefile for /usr/games

#DESTDIR=/interim/usr/games/
DESTDIR=/bin386/usr/games/
DESTDIR2=/bin386/usr/games/lib/

GAMES: fortune guess moo ttt rubik chase lines

all: $(GAMES)

fortune:
	cc -O -o $(DESTDIR)fortune fortune.c
	su root chmog 511 bin bin $(DESTDIR)$@@
	cd lib ; co $(DESTDIR)lib/fortunes
	su root chmog 511 bin bin $(DESTDIR)lib/fortunes

guess:
	cc -O -o $(DESTDIR)guess guess.c
	su root chmog 511 bin bin $(DESTDIR)$@@

moo:
	cc -O -o $(DESTDIR)moo moo.c
	su root chmog 511 bin bin $(DESTDIR)$@@

ttt:
	cc -O -o $(DESTDIR)ttt ttt.c
	su root chmog 511 bin bin $(DESTDIR)$@@

rubik:
	co $(DESTDIR)rubik
	su root chmog 511 bin bin $(DESTDIR)$@@
	cd lib ; co $(DESTDIR)lib/rubik.m4
	cd $(DESTDIR)lib ; su root chmog 644 bin bin rubik.m4

chase:
	cd pacman ; make

lines:
	cc -O -o $(DESTDIR)$@@ lines.c
	su root chmog 511 bin bin $(DESTDIR)$@@

almanac:	almanac.c
	cc -O -o $(DESTDIR)$@@ lines.c
	(cd lib ; co alm.birth ; co alm.death ; co alm.event)
	(cd lib ; cp alm.birth $(DESTDIR2)/almanac.birth)
	(cd lib ; cp alm.death $(DESTDIR2)/almanac.death)
	(cd lib ; cp alm.event $(DESTDIR2)/almanac.event)
	su root chmog 444 bin bin $(DESTDIR2)/almanac.*
	(cd lib ; rm alm.*)
@


1.2
log
@corrected problem with building rubik
@
text
@d4 3
a6 1
DESTDIR=/interim/usr/games/
d42 9
@


1.1
log
@Initial revision
@
text
@d31 2
a32 2
	cd lib ; co $(DESTDIR)lib/fortunes 
	cd $(DESTDIR)lib ; su root chmog 644 bin bin fortunes
@
