minor cleanups for cray
[unix-history] / usr / src / old / rogue / Makefile
CommitLineData
e3325aaf
KM
1#
2# Copyright (c) 1980 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
c18faa9a 6# @(#)Makefile 5.4 (Berkeley) %G%
e3325aaf 7#
79c6f356 8OBJS= main.obj machdep.o
e9ba7ed0 9
8dc88449
KM
10GAMESDIR= $(DESTDIR)/usr/games
11SCOREFILE= $(DESTDIR)/usr/games/lib/rogue_roll
e9ba7ed0
KA
12DEFS= -DSCOREFILE='"$(SCOREFILE)"'
13CFLAGS= -O $(DEFS)
e9ba7ed0
KA
14
15NROFF= nroff
16TROFF= ditroff
17
18rogue: $(OBJS)
19 $(CC) $(CFLAGS) -o rogue $(OBJS) -lcurses -ltermlib
20
e9ba7ed0 21install: rogue
8dc88449 22 install -s -o daemon -m 4711 rogue $(GAMESDIR)
aa443c78 23 install -c -o daemon -m 644 /dev/null $(SCOREFILE)
79c6f356
KM
24
25clean:
26 rm -f rogue machdep.o
c18faa9a
KB
27
28depend: