|
|
1.1 ! root 1: # ! 2: # Copyright (c) 1983 Regents of the University of California, ! 3: # All rights reserved. Redistribution permitted subject to ! 4: # the terms of the Berkeley Software License Agreement. ! 5: # ! 6: ! 7: # @(#)Makefile 1.7 4/25/85 ! 8: ! 9: CFLAGS= -O ! 10: OBJS= battlestar.o com1.o com2.o com3.o com4.o com5.o com6.o com7.o \ ! 11: init.o cypher.o getcom.o parse.o room.o save.o fly.o misc.o \ ! 12: globals.o dayfile.o nightfile.o dayobjs.o nightobjs.o words.o ! 13: CFILES= battlestar.c com1.c com2.c com3.c com4.c com5.c com6.c com7.c \ ! 14: init.c cypher.c getcom.c parse.c room.c save.c fly.c misc.c \ ! 15: globals.c dayfile.c nightfile.c dayobjs.c nightobjs.c words.c ! 16: LIBS= -lcurses -ltermlib ! 17: LINTFLAGS= -h ! 18: JUNKFILES= battlestar tags ! 19: DIR= $(DESTDIR)/usr/games ! 20: LOGFILE= $(DIR)/lib/battlestar.log ! 21: MAN= $(DESTDIR)/usr/man/man6/battlestar.6 ! 22: ! 23: battlestar: $(OBJS) ! 24: cc -o battlestar $(OBJS) $(LIBS) ! 25: ! 26: $(OBJS): externs.h ! 27: ! 28: lint: $(CFILES) ! 29: lint $(LINTFLAGS) $(CFILES) $(LIBS) ! 30: ! 31: install: battlestar $(MAN) $(LOGFILE) ! 32: install -s battlestar $(DIR)/battlestar ! 33: ! 34: logfile $(LOGFILE): ! 35: cp /dev/null $(LOGFILE) ! 36: chmod 666 $(LOGFILE) ! 37: ! 38: man $(MAN): ! 39: install -c battlestar.6 $(MAN) ! 40: ! 41: clean: ! 42: rm -f $(OBJS) $(JUNKFILES)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.