xref: /original-bsd/old/rogue/Makefile (revision 3b6250d9)
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#
6#	@(#)Makefile	5.4 (Berkeley) 06/03/87
7#
8OBJS=		main.obj machdep.o
9
10GAMESDIR=	$(DESTDIR)/usr/games
11SCOREFILE=	$(DESTDIR)/usr/games/lib/rogue_roll
12DEFS=		-DSCOREFILE='"$(SCOREFILE)"'
13CFLAGS=		-O $(DEFS)
14
15NROFF=	nroff
16TROFF=	ditroff
17
18rogue:	$(OBJS)
19	$(CC) $(CFLAGS) -o rogue $(OBJS) -lcurses -ltermlib
20
21install: rogue
22	install -s -o daemon -m 4711 rogue $(GAMESDIR)
23	install -c -o daemon -m 644 /dev/null $(SCOREFILE)
24
25clean:
26	rm -f rogue machdep.o
27
28depend:
29