|
|
1.1 root 1: #
2: # Copyright (c) 1987 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 4.3 (Berkeley) 6/19/87
7: #
8: CFLAGS= -O
9: LIBC= /lib/libc.a
10: SRCS= allprint.c main.c reject.c yyless.c yywrap.c
11: OBJS= allprint.o main.o reject.o yyless.o yywrap.o
12:
13: all: libln.a
14:
15: libln.a: ${OBJS}
16: ar rc $@ ${OBJS}
17:
18: clean: FRC
19: rm -f ${OBJS} core libln.a
20:
21: depend: FRC
22: mkdep ${CFLAGS} ${SRCS}
23:
24: install: FRC
25: install -o bin -g bin -m 644 libln.a ${DESTDIR}/usr/lib/libln.a
26: rm -f ${DESTDIR}/usr/lib/libl.a
27: ln ${DESTDIR}/usr/lib/libln.a ${DESTDIR}/usr/lib/libl.a
28: ranlib ${DESTDIR}/usr/lib/libln.a
29:
30: lint: FRC
31: lint ${CFLAGS} ${SRCS}
32:
33: tags: FRC
34: ctags ${SRCS}
35:
36: FRC:
37:
38: # DO NOT DELETE THIS LINE -- mkdep uses it.
39: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
40:
41: allprint.o: allprint.c /usr/include/stdio.h
42: main.o: main.c /usr/include/stdio.h
43: reject.o: reject.c /usr/include/stdio.h
44: yyless.o: yyless.c
45: yywrap.o: yywrap.c
46:
47: # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.