|
|
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= calendar.c
11: OBJS= calendar.o
12:
13: all: calendar
14:
15: calendar: calendar.c ${LIBC}
16: ${CC} ${CFLAGS} -o $@ calendar.c
17:
18: clean: FRC
19: rm -f ${OBJS} core calendar
20:
21: depend: FRC
22: mkdep -p ${CFLAGS} ${SRCS}
23:
24: install: FRC
25: install -s -o bin -g bin -m 755 calendar ${DESTDIR}/usr/lib
26: install -c -o bin -g bin -m 755 calendar.sh ${DESTDIR}/usr/bin/calendar
27:
28: lint: FRC
29: lint ${CFLAGS} ${SRCS}
30:
31: tags: FRC
32: ctags ${SRCS}
33:
34: FRC:
35:
36: # DO NOT DELETE THIS LINE -- mkdep uses it.
37: # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
38:
39: calendar: calendar.c /usr/include/sys/time.h /usr/include/time.h
40:
41: # 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.