|
|
1.1 root 1: # @(#)Makefile 4.4 (Berkeley) 10/13/82
2:
3: DESTDIR =
4: CFLAGS= -O -I.
5:
6: OBJS= closedir.o opendir.o readdir.o seekdir.o telldir.o
7:
8: .c.o:
9: ${CC} ${CFLAGS} -c $*.c
10: -ld -x -r $*.o
11: mv a.out $*.o
12:
13: libndir: ${OBJS}
14: ar cru libndir ${OBJS}
15: ranlib libndir
16:
17: install: libndir
18: cp dir.h ${DESTDIR}/usr/include/dir.h
19: cp libndir ${DESTDIR}/usr/lib/libndir.a
20: ranlib ${DESTDIR}/usr/lib/libndir.a
21: cp directory.3s /usr/man/man3/directory.3s
22:
23: clean:
24: rm -f libndir ${OBJS}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.