|
|
1.1 root 1: CC = cc # the usual situation
2: CFLAGS = # the usual situation
3:
4: CC = lcc # you will probably want to remove this
5: CFLAGS = -g -A -N -I/usr/include/lcc -I/usr/include # and this
6:
7: YFLAGS = -d
8:
9: SOURCE = eqn.y e.h main.c tuning.c diacrit.c eqnbox.c font.c fromto.c funny.c glob.c integral.c \
10: input.c lex.c lookup.c mark.c matrix.c move.c over.c paren.c \
11: pile.c shift.c size.c sqrt.c text.c
12:
13: FILES = main.o tuning.o diacrit.o eqnbox.o font.o fromto.o funny.o glob.o integral.o \
14: input.o lex.o lookup.o mark.o matrix.o move.o over.o paren.o \
15: pile.o shift.o size.o sqrt.o text.o eqn.o
16:
17: a.out: $(FILES)
18: $(CC) $(CFLAGS) $(FILES)
19:
20: y.tab.h: eqn.o
21:
22: prevy.tab.h: y.tab.h
23: -cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h
24:
25: $(FILES): e.h prevy.tab.h
26:
27: bundle:
28: @bundle $(SOURCE) makefile README
29:
30: bowell: README $(SOURCE) makefile eqntest.a
31: push bowell $? /usr/src/cmd/eqn
32: @touch bowell
33:
34: install:
35: cp a.out /usr/bin/eqn
36: strip /usr/bin/eqn
37:
38: clean:
39: rm -f a.out *.o make.out *y.tab.h foo* core
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.