|
|
1.1 ! root 1: # ALLOC = malloc.o ! 2: CFLAGS = -g ! 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: grap: grap.o grapl.o $(OFILES) grap.h ! 9: $(CC) $(CFLAGS) grap.o grapl.o $(OFILES) -lm -o grap ! 10: ! 11: install: grap ! 12: cp grap /usr/bin ! 13: ! 14: $(OFILES) grapl.o: grap.h prevy.tab.h ! 15: ! 16: grap.c: grap.h grap.y # grap.o: grap.h ! 17: yacc -d grap.y ! 18: mv y.tab.c grap.c ! 19: ! 20: y.tab.h: grap.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: prcan: README WISH $(SRCFILES) makefile ! 26: @prcan $(CAN) $? $(OTHERS) ! 27: @touch prcan ! 28: ! 29: bin: ! 30: cp /usr/bin/grap /usr/safe ! 31: cp a.out /usr/bin/grap ! 32: ! 33: clean: ! 34: rm -f *.o a.out y.tab.h grap grap.c prevy.tab.h ! 35: ! 36: backup: $(SRCFILES) makefile grap.1 *.g grap.defines WISH ! 37: push snb $? grap ! 38: touch backup ! 39: ! 40: bowell: $(SRCFILES) makefile grap.1 grap.defines WISH ! 41: push bowell $? /src/cmd/grap ! 42: touch backup ! 43: ! 44: bundle: ! 45: @bundle 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.