|
|
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.3 (Berkeley) 9/7/85 ! 7: # ! 8: DESTDIR= ! 9: CC = /bin/cc ! 10: CFLAGS = -O ! 11: ! 12: all: boggle bogdict ! 13: ! 14: bogdict: comp sfile ! 15: -if [ -f /usr/local/lib/w2a ]; \ ! 16: then dict=/usr/local/lib/w2a; \ ! 17: else dict=/usr/dict/words; fi; \ ! 18: sed -f sfile $$dict | uniq | comp >bogdict ! 19: ! 20: install: ! 21: install -s boggle ${DESTDIR}/usr/games/boggle ! 22: install bogdict ${DESTDIR}/usr/games/bogdict ! 23: ! 24: boggle: boggle.c ! 25: cc -o boggle ${CFLAGS} boggle.c ! 26: ! 27: comp: comp.c ! 28: cc -o comp ${CFLAGS} comp.c ! 29: ! 30: clean: ! 31: rm -f bogdict boggle comp
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.