|
|
1.1 root 1: #
2: # Copyright (c) 1987 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 4.3 (Berkeley) 6/3/87
7: #
8: CFLAGS= -O
9: LIBC= /lib/libc.a
10: SRCS= zork.c
11: OBJS= zork.o
12:
13: all: zork
14:
15: zork: zork.c ${LIBC}
16: ${CC} ${CFLAGS} -o $@ zork.c
17:
18: clean: FRC
19: rm -f ${OBJS} core zork
20:
21: depend: FRC
22: mkdep ${CFLAGS} ${SRCS}
23:
24: install: FRC
25: -mkdir /usr/games/lib/zorklib > /dev/null 2>&1
26: install -s -o bin -g bin -m 755 zork ${DESTDIR}/usr/games/zork
27: install -c -o bin -g bin -m 755 zorklib/dtext.dat ${DESTDIR}/usr/games/lib
28: install -c -o bin -g bin -m 755 zorklib/dindex.dat ${DESTDIR}/usr/games/lib
29: install -c -o bin -g bin -m 755 zorklib/doverlay ${DESTDIR}/usr/games/lib
30: install -c -o bin -g bin -m 755 zorklib/dungeon ${DESTDIR}/usr/games/lib
31:
32: lint: FRC
33: lint ${CFLAGS} ${SRCS}
34:
35: tags: FRC
36: ctags ${SRCS}
37:
38: FRC:
39:
40: # DO NOT DELETE THIS LINE -- mkdep uses it.
41: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
42:
43: zork.o: zork.c /usr/include/stdio.h
44:
45: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.