|
|
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: # ALLOC = malloc.o ! 10: ! 11: OFILES = main.o input.o print.o frame.o for.o coord.o ticks.o plot.o label.o misc.o $(ALLOC) ! 12: CFILES = main.c input.c print.c frame.c for.c coord.c ticks.c plot.c label.c misc.c ! 13: SRCFILES = grap.y grapl.l grap.h $(CFILES) ! 14: ! 15: a.out: grap.o grapl.o $(OFILES) grap.h ! 16: $(CC) $(CFLAGS) grap.o grapl.o $(OFILES) -lm ! 17: ! 18: $(OFILES) grapl.o: grap.h prevy.tab.h ! 19: ! 20: grap.o: grap.h ! 21: ! 22: y.tab.h: grap.o ! 23: ! 24: prevy.tab.h: y.tab.h ! 25: -cmp -s y.tab.h prevy.tab.h || cp y.tab.h prevy.tab.h ! 26: ! 27: prcan: README WISH $(SRCFILES) makefile ! 28: @lprcan $(CAN) $? $(OTHERS) ! 29: @touch prcan ! 30: ! 31: bin: ! 32: cp /usr/bin/grap /usr/bin/ograp ! 33: cp a.out /usr/bin/grap ! 34: ! 35: clean: ! 36: rm -f *.o a.out *y.tab.[ch] lex.yy.c foo* *.[gd] ! 37: ! 38: bowell: $(SRCFILES) makefile grap.1 grap.defines graptest.a WISH FIXES ! 39: push bowell $? /usr/src/cmd/grap ! 40: touch bowell ! 41: ! 42: bundle: ! 43: @bundle FIXES 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.