|
|
1.1 ! root 1: YFLAGS = -d ! 2: CFLAGS = -g ! 3: SRC = hoc.y hoc.h code.c init.c math.c symbol.c ! 4: OBJS = hoc.o code.o init.o math.o symbol.o ! 5: ! 6: hoc: $(OBJS) ! 7: $(CC) $(CFLAGS) $(OBJS) -lm -o hoc ! 8: ! 9: hoc.o code.o init.o symbol.o: hoc.h ! 10: ! 11: code.o init.o symbol.o: x.tab.h ! 12: ! 13: x.tab.h: y.tab.h ! 14: -cmp -s x.tab.h y.tab.h || cp y.tab.h x.tab.h ! 15: ! 16: pr: $(SRC) ! 17: @prcan $? ! 18: @touch pr ! 19: ! 20: install: hoc ! 21: cp hoc /usr/bin ! 22: strip /usr/bin/hoc ! 23: ! 24: clean: ! 25: rm -f $(OBJS) [xy].tab.[ch] hoc ! 26: ! 27: bundle: ! 28: @bundle $(SRC) makefile README
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.