|
|
1.1 ! root 1: OBJ=balloc.t getbitmap.t inbitmap.t outbitmap.t ! 2: ! 3: ARCHIVE=libcc.a ! 4: ! 5: %.t: %.c ! 6: $(CC) $(CFLAGS) -c $%.c && touch $%.t ! 7: ! 8: $(ARCHIVE):& $(OBJ) ! 9: ar r $(ARCHIVE) *.o ! 10: ranlib $(ARCHIVE) ! 11: rm *.o ! 12: ! 13: install: $(ARCHIVE) ! 14: cp $(ARCHIVE) /usr/lib ! 15: touch install ! 16: ! 17: ship: install ! 18: ship /usr/lib/$(ARCHIVE) ! 19: touch ship ! 20: ! 21: Make: ! 22: sed -e "/^OBJ=.*/{s/.*/OBJ=`echo *.c`/" \ ! 23: -e 's/\.c/.t/g' \ ! 24: -e '}' Makefile >makefile ! 25: mv makefile Makefile
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.