|
|
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.2 (Berkeley) 5/15/86 ! 7: # ! 8: DESTDIR= ! 9: HDRS= robot.h ! 10: CFILES= extern.c init_field.c main.c make_level.c move.c \ ! 11: move_robs.c play_level.c query.c rnd_pos.c score.c \ ! 12: flush_in.c ! 13: OBJS= extern.o init_field.o main.o make_level.o move.o \ ! 14: move_robs.o play_level.o query.o rnd_pos.o score.o \ ! 15: flush_in.o ! 16: DEFS= -DMAX_PER_UID=5 ! 17: CFLAGS= -O ${DEFS} ! 18: ! 19: robots: ${OBJS} ! 20: ${CC} ${CFLAGS} -o robots ${OBJS} -lcurses -ltermlib ! 21: ! 22: lint: ! 23: lint -hb ${DEFS} ${CFILES} -lcurses 2>1 > lint.out ! 24: ! 25: install: robots ! 26: install -s -m 4711 -o daemon robots ${DESTDIR}/usr/games ! 27: install -c -m 644 -o daemon /dev/null ${DESTDIR}/usr/games/lib/robots_roll ! 28: ! 29: clean: ! 30: rm -f a.out core *.o robots lint.out errs
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.