# @(#)Makefile 4.3 (Berkeley) 85/06/01
# The programs themselves
SRCS
= find.c bigram.c code.c
cc ${CFLAGS} -o find find.c
cc ${CFLAGS} -o bigram bigram.c
cc ${CFLAGS} -o code code.c
install -s
${PROG} ${DESTDIR}/usr
/bin
/${PROG}
-mkdir
${DESTDIR}/usr
/lib
/find
install -s bigram
${DESTDIR}/usr
/lib
/find
/bigram
install -s code
${DESTDIR}/usr
/lib
/find
/code
install -c
-m
755 updatedb.csh
${DESTDIR}/usr
/lib
/find
/updatedb
rm -f a.out core
${LIBS} ${PROG}
(echo
`basename $$i .c`.o
: $$i >>makedep
; \
/bin
/grep
'^#[ ]*include' x.c
$$i | sed \
-e
's,<\(.*\)>,"/usr/include/\1",' \
-e
's/:[^"]*"\([^"]*\)".*/: \1/' \
-e
's/\.c/.o/' >>makedep
); done
echo
'/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
echo
'$$r makedep' >>eddep
echo
'# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
echo
'# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
echo
'# see make depend above' >> Makefile
# DO NOT DELETE THIS LINE -- make depend uses it
find.o
: /usr
/include/stdio.h
find.o
: /usr
/include/sys
/param.h
find.o
: /usr
/include/sys
/dir.h
find.o
: /usr
/include/sys
/stat.h
find.o
: /usr
/include/signal.h
bigram.o
: /usr
/include/stdio.h
code.o
: /usr
/include/stdio.h
# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY