1# @(#)Makefile 4.3 05/25/83 2 3CFLAGS= -O 4 5all: spell hlist hlista hlistb hstop spellin spellout 6 7install: all 8 install -s spell $(DESTDIR)/usr/lib 9 install -s spellin ${DESTDIR}/usr/bin 10 install -s spellout ${DESTDIR}/usr/bin 11 install -c hlista $(DESTDIR)/usr/dict 12 install -c hlistb $(DESTDIR)/usr/dict 13 install -c hstop $(DESTDIR)/usr/dict 14 install -c spell.sh $(DESTDIR)/usr/bin/spell 15 16clean: 17 rm -f *.o spell spellin hlista hlistb hlist hstop spellout 18 19spell: spell.o 20 cc spell.o -o spell 21spellin: spellin.o 22 cc spellin.o -o spellin 23spellout: spellout.o 24 cc spellout.o -o spellout 25 26hlist: /usr/dict/words spellin 27 spellin </usr/dict/words >hlist 28hlista: american local hlist spellin 29 (cat american local)|spellin hlist >hlista 30hlistb: british local hlist spellin 31 (cat british local)|spellin hlist >hlistb 32hstop: stop spellin 33 spellin <stop >hstop 34