# Copyright (c) 1987 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)Makefile 4.7 (Berkeley) %G%
SRCS
= diction.c nwords.c end.c part.c pscan.c outp.c
OBJS
= nwords.o end.o part.o pscan.o outp.o
all: dprog style1 style2 style3
${CC} ${CFLAGS} -DDICT
=\"/usr
/lib
/dict.d
\" diction.c
-o
$@
style3
: part.o pscan.o outp.o
${LIBC}
${CC} part.o pscan.o outp.o
-o
$@
-ll
rm -f
${OBJS} part.c nwords.c end.c style1 style2 style3 dprog
install -s
-o bin
-g bin
-m
755 style1
${DESTDIR}/usr
/lib
install -s
-o bin
-g bin
-m
755 style2
${DESTDIR}/usr
/lib
install -s
-o bin
-g bin
-m
755 style3
${DESTDIR}/usr
/lib
install -s
-o bin
-g bin
-m
755 dprog
${DESTDIR}/usr
/lib
install -c
-o bin
-g bin
-m
755 style.sh
${DESTDIR}/usr
/bin
/style
install -c
-o bin
-g bin
-m
755 diction.sh
${DESTDIR}/usr
/bin
/diction
install -c
-o bin
-g bin
-m
755 explain.sh
${DESTDIR}/usr
/bin
/explain
install -c
-o bin
-g bin
-m
755 dict.d
${DESTDIR}/usr
/lib
install -c
-o bin
-g bin
-m
755 explain.d
${DESTDIR}/usr
/lib
# ln ${DESTDIR}/usr/bin/explain ${DESTDIR}/usr/bin/suggest
lint
${CFLAGS} part.c pscan.c outp.c
ctags
-a part.c pscan.c outp.c
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
diction.o
: diction.c
/usr
/include/stdio.h
/usr
/include/ctype.h
nwords.o
: nwords.c
/usr
/include/stdio.h
/usr
/include/stdio.h
nwords.o
: /usr
/include/ctype.h names.h nhash.c dict.c ydict.c abbrev.c
end.o
: end.c
/usr
/include/stdio.h
/usr
/include/stdio.h
/usr
/include/ctype.h
end.o
: names.h ehash.c edict.c
part.o
: part.c
/usr
/include/stdio.h style.h names.h conp.h
pscan.o
: pscan.c names.h conp.h
outp.o
: outp.c
/usr
/include/stdio.h
/usr
/include/ctype.h style.h names.h conp.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY