|
|
1.1 ! root 1: # Makefile 1.3 82/11/27 ! 2: ! 3: DESTDIR= ! 4: CFLAGS= -O -DV7 ! 5: OBJS= allow.o board.o check.o extra.o fancy.o init.o main.o move.o\ ! 6: odds.o one.o save.o subs.o table.o text.o message.o ! 7: TOBJS= allow.o board.o check.o data.o fancy.o init.o odds.o one.o save.o subs.o\ ! 8: table.o teach.o ttext1.o ttext2.o tutor.o ! 9: SRCS= allow.c board.c check.c data.c extra.c fancy.c init.c main.c\ ! 10: move.c odds.c one.c save.c subs.c table.c teach.c text.c ttext1.c\ ! 11: ttext2.c tutor.c message.c ! 12: ! 13: all: backgammon teachgammon backgammon.doc ! 14: ! 15: # Backgammon program ! 16: backgammon: $(OBJS) ! 17: -rm -f backgammon ! 18: cc -o backgammon $(OBJS) -ltermlib ! 19: ! 20: # Backgammon rules and tutorial ! 21: teachgammon: ${TOBJS} ! 22: -rm -f teachgammon ! 23: cc -o teachgammon $(TOBJS) -ltermlib ! 24: ! 25: # Header files back.h and tutor.h ! 26: allow.o board.o check.o extra.o fancy.o main.o move.o odds.o one.o save.o\ ! 27: subs.o table.o teach.o text.o ttext1.o ttext2.o: back.h ! 28: data.o tutor.o: back.h tutor.h ! 29: ! 30: # Update message. /tmp is always changing, so use it to ensure execution ! 31: message.c: /tmp ! 32: ex - message.c < Mesgfix ! 33: ! 34: # Documentation ! 35: backgammon.doc: backgammon.src ! 36: -rm -f backgammon.doc ! 37: nroff -man -Tcrt backgammon.src > backgammon.doc ! 38: ! 39: # Installation ! 40: install: ! 41: install backgammon ${DESTDIR}/usr/games/backgammon ! 42: install teachgammon ${DESTDIR}/usr/games/teachgammon ! 43: ! 44: clean: ! 45: rm -f ${OBJS} ${TOBJS}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.