|
|
Power 6/32 Unix version 1.2b
# @(#)Makefile 4.3 5/25/83
DESTDIR=
AS=/bin/as
CC=/bin/cc
LCC=/bin/cc
LD=/bin/ld
INCLDIR=${DESTDIR}/usr/include
LIBDIR=${DESTDIR}/lib
ULIBDIR=${DESTDIR}/usr/lib
CFLAGS= -O -I${INCLDIR}
all: spell hlist hlista hlistb hstop lspellin spellin spellout
install: all
install -s spell $(DESTDIR)/usr/lib
install -s spellin ${DESTDIR}/usr/bin
install -s spellout ${DESTDIR}/usr/bin
install -c hlista $(DESTDIR)/usr/dict
install -c hlistb $(DESTDIR)/usr/dict
install -c hstop $(DESTDIR)/usr/dict
install -c spell.sh $(DESTDIR)/usr/bin/spell
clean:
rm -f *.o spell lspellin spellin hlista hlistb hlist hstop spellout
cleansrc:
rm -f *.[ch] *.sh stop local american british Makefile
spell: spell.o
${CC} spell.o -o spell
lspellin: spellin.o
${LCC} spellin.o -o lspellin
spellin: spellin.o
${CC} spellin.o -o spellin
spellout: spellout.o
${CC} spellout.o -o spellout
hlist: /usr/dict/words lspellin
./lspellin </usr/dict/words >hlist
hlista: american local hlist lspellin
(cat american local)|./lspellin hlist >hlista
hlistb: british local hlist lspellin
(cat british local)|./lspellin hlist >hlistb
hstop: stop lspellin
./lspellin <stop >hstop
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.