|
|
1.1 root 1: # ALLOC = malloc.o
2: CFLAGS = -O
3: YFLAGS = -d -D
4: OFILES = main.o input.o print.o frame.o for.o coord.o ticks.o plot.o label.o misc.o $(ALLOC)
5: CFILES = main.c input.c print.c frame.c for.c coord.c ticks.c plot.c label.c misc.c
6: SRCFILES = grap.y grapl.l grap.h $(CFILES)
7:
8: a.out: grap.o grapl.o $(OFILES) grap.h
9: $(CC) $(CFLAGS) grap.o grapl.o $(OFILES) -lm
10:
11: $(OFILES) grapl.o: grap.h prevy.tab.h
12:
13: grap.o: grap.h
14:
15: y.tab.h: grap.o
16:
17: prevy.tab.h: y.tab.h
18: -cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h
19:
20: prcan: README WISH $(SRCFILES) makefile
21: @lprcan $(CAN) $? $(OTHERS)
22: @touch prcan
23:
24: bin:
25: cp /usr/bin/grap /usr/safe
26: cp a.out /usr/bin/grap
27:
28: clean:
29: rm *.o a.out y.tab.h
30:
31: bowell: $(SRCFILES) makefile grap.1 grap.defines graptest.a WISH
32: push bowell $? /usr/src/cmd/grap
33: touch bowell
34:
35: bundle:
36: @bundle UNDOC README $(SRCFILES) makefile grap.1 grap.defines
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.