new template
[unix-history] / usr / src / lib / liby / Makefile
CommitLineData
411b6713 1#
b7d15ef8 2# Copyright (c) 1987 Regents of the University of California.
411b6713
KM
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
b7d15ef8 6# @(#)Makefile 5.2 (Berkeley) %G%
411b6713 7#
b7d15ef8
KB
8CFLAGS= -O
9LIBC= /lib/libc.a
10SRCS= libmai.c libzer.c
11OBJS= libmai.o libzer.o
12
13all: liby.a
14
15liby.a: ${OBJS}
16 ar cr $@ ${OBJS}
411b6713 17
b7d15ef8
KB
18clean: FRC
19 rm -f ${OBJS} core liby.a
411b6713 20
b7d15ef8
KB
21depend: FRC
22 mkdep ${CFLAGS} ${SRCS}
23
24install: FRC
25 install -o bin -g bin -m 644 liby.a ${DESTDIR}/usr/lib/liby.a
411b6713
KM
26 ranlib ${DESTDIR}/usr/lib/liby.a
27
b7d15ef8
KB
28lint: FRC
29 lint ${CFLAGS} ${SRCS}
30
31tags: FRC
32 ctags ${SRCS}
33
34FRC:
35
36# DO NOT DELETE THIS LINE -- mkdep uses it.
37# DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
38
39libmai.o: libmai.c
40libzer.o: libzer.c /usr/include/stdio.h
41
42# IF YOU PUT ANYTHING HERE IT WILL GO AWAY