# 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.5 (Berkeley) %G%
OBJS
= awk.lx.o b.o main.o token.o tran.o lib.o run.o parse.o proctab.o \
SRCS
= awk.lx.c b.c lib.c main.c parse.c proctab.c freeze.c run.c \
awk
: ${OBJS} awk.g.o
${LIBC}
${CC} ${CFLAGS} awk.g.o
${OBJS} -lm
-o
$@
-cmp
-s y.tab.h awk.h || cp y.tab.h awk.h
profile
: awk.g.o
${OBJS} mon.o
${CC} -p
-i awk.g.o
${OBJS} mon.o
-lm
proc
: awk.h proc.o token.o
${CC} -o
$@ proc.o token.o
rm -f
${OBJS} core awk awk.h proc proctab.c
yacc*
depend
: y.tab.h
${SRCS} FRC
install -s
-o bin
-g bin
-m
755 awk
${DESTDIR}/bin
/awk
# DO NOT DELETE THIS LINE -- mkdep uses it.
# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
b.o
: b.c awk.def
/usr
/include/stdio.h awk.h
lib.o
: lib.c
/usr
/include/stdio.h awk.def awk.h
/usr
/include/ctype.h
main.o
: main.c
/usr
/include/stdio.h
/usr
/include/ctype.h awk.def awk.h
parse.o
: parse.c awk.def awk.h
/usr
/include/stdio.h
proctab.o
: proctab.c awk.def
freeze.o
: freeze.c
/usr
/include/stdio.h
run.o
: run.c awk.def
/usr
/include/math.h awk.h
/usr
/include/stdio.h
run.o
: /usr
/include/fcntl.h
tran.o
: tran.c
/usr
/include/stdio.h awk.def awk.h
# IF YOU PUT ANYTHING HERE IT WILL GO AWAY