-#
-# Copyright (c) 1985 Regents of the University of California.
-# All rights reserved. The Berkeley software License Agreement
-# specifies the terms and conditions for redistribution.
-#
-# @(#)Makefile 5.2 (Berkeley) %G%
-#
-# Make a Yacc library
-#
-DESTDIR=
-CFLAGS=-O
+# @(#)Makefile 5.5 (Berkeley) %G%
-liby.a: libmai.o libzer.o
- ar rv liby.a libmai.o libzer.o
- ranlib liby.a
+LIB= y
+SRCS= main.c yyerror.c
-install: liby.a
- install liby.a ${DESTDIR}/usr/lib/liby.a
- ranlib ${DESTDIR}/usr/lib/liby.a
-
-clean:
- rm -f *.o *.a errs
+.include <bsd.lib.mk>