|
|
1.1 root 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.1 (Berkeley) 5/30/85
7: #
8: DESTDIR=
9: CFLAGS= -O
10: LIBS= -lm -ltermcap
11: BIN= $(DESTDIR)/usr/games
12: LIB= $(DESTDIR)/usr/games/lib
13: USER= daemon
14: UTILS= snscore
15: OBJS= snake.o move.o
16: ALL= snake ${UTILS}
17:
18: all: ${ALL}
19:
20: snake: $(OBJS)
21: cc $(OBJS) -o snake $(LIBS)
22:
23: snake.o move.o:snake.h
24:
25: snscore: snscore.c
26: cc $(CFLAGS) snscore.c -o snscore
27:
28: busy: busy.c
29: cc $(CFLAGS) busy.c -o busy
30:
31: install: all
32: install -s -m 4755 -o ${USER} snake ${BIN}/snake
33: install -s -m 755 -o ${USER} snscore ${BIN}/snscore
34: # install -s -m 755 -o ${USER} busy ${BIN}/busy
35: cat /dev/null >> $(LIB)/snakerawscores
36: chmod 644 $(LIB)/snakerawscores
37: chown $(USER) $(LIB)/snakerawscores
38:
39: clean:
40: rm -f *.o ${ALL}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.