# Copyright (c) 1982, 1986 Regents of the University of California.
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
# @(#)Makefile 7.1 (Berkeley) %G%
SRCS
= main.c machdep.c machpats.c libcpats.c langpats.c
OBJS
= main.o machdep.o machpats.o libcpats.o langpats.o
cc ${LFLAGS} -o
${PROG} ${OBJS}
cc ${CFLAGS} ${INCPATH} -c
$*.c
install ${PROG} ..
/inline
rm -f a.out core
${OBJS} ${PROG}
cc -M
${INCPATH} ${SRCS} | \
awk
' { if ($$1 != prev) { print rec; rec = $$0; prev = $$1; } \
else { if (length(rec $$2) > 78) { print rec; rec = $$0; } \
else rec = rec " " $$2 } } \
END { print rec } ' > makedep
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
main.o
: main.c
/usr
/include/stdio.h
/usr
/include/ctype.h .
/inline.h
machdep.o
: machdep.c
/usr
/include/stdio.h
/usr
/include/ctype.h
machpats.o
: machpats.c .
/inline.h
libcpats.o
: libcpats.c .
/inline.h
langpats.o
: langpats.c .
/inline.h
# DEPENDENCIES MUST END AT END OF FILE
# IF YOU PUT STUFF HERE IT WILL GO AWAY