|
|
1.1 root 1: #
2: # Cory Hall Unix 11/70 Version 7
3: CFLAGS=-O -DCORY
4: DESTDIR=/usr/src
5: CTAGS=/usr/bin/eecs/ctags -w
6: RM=-rm
7: OBJS=aux.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o edit.o fio.o \
8: head.o c.local.o lex.o list.o main.o names.o optim.o \
9: quit.o send.o strings.o temp.o tty.o vars.o version.o
10:
11: SRCS=aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c \
12: head.c c.local.c lex.c list.c main.c names.c optim.c \
13: quit.c send.c strings.c temp.c tty.c vars.c version.c
14:
15: all: Mail fmt
16:
17: install: all
18: cp Mail $(DESTDIR)
19: cp fmt $(DESTDIR)
20:
21: Mail: $(OBJS) tags
22: $(CC) -n -o Mail $(OBJS) -lretro -lS
23: @size Mail
24:
25: tags:
26: ${CTAGS} *.c;
27:
28: clean:
29: $(RM) -f *.o
30: rm -f Mail a.out fmt x.c xs.c tags core
31: cp /dev/null strings
32: cp /dev/null version.c
33:
34: lint:
35: lint $(CFLAGS) $(SRCS)
36:
37: fmt: fmt.c head.c
38: $(CC) $(CFLAGS) fmt.c head.c -o fmt -lretro -lS
39: $(RM) fmt.o head.o
40: size fmt
41:
42: #
43: # Make the version file. /tmp is always changing.
44: #
45: version.c: /tmp
46: /bin/sh version > version.c
47:
48: print:
49: @pr rcv.h def.h glob.h local.h c.local.h $(SRCS)
50: @pr fmt.c
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.