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