Commit | Line | Data |
---|---|---|
411b6713 KM |
1 | # |
2 | # Copyright (c) 1985 Regents of the University of California. | |
3 | # All rights reserved. The Berkeley software License Agreement | |
4 | # specifies the terms and conditions for redistribution. | |
5 | # | |
6 | # @(#)Makefile 5.1 (Berkeley) %G% | |
7 | # | |
8 | # Make a Yacc library | |
9 | # | |
10 | DESTDIR= | |
11 | CFLAGS=-O | |
12 | ||
13 | liby.a: libmai.o libzer.o | |
14 | ar rv liby.a libmai.o libzer.o | |
15 | ranlib liby.a | |
16 | ||
17 | install: liby.a | |
18 | install liby.a ${DESTDIR}/usr/lib/liby.a | |
19 | ranlib ${DESTDIR}/usr/lib/liby.a | |
20 | ||
21 | clean: | |
22 | rm -f *.o *.a errs |