|
|
1.1.1.5 ! root 1: #!/bin/sh ! 2: # ! 3: # script to compile ANSI source with a K&R compiler and unproto. ! 4: # ! 5: ! 6: while : ! 7: do ! 8: case $1 in ! 9: -c) ;; ! 10: -o) shift ;; ! 11: *.c) break ;; ! 12: *) arg="$arg $1" ;; ! 13: esac ! 14: shift ! 15: done ! 16: ! 17: set -e ! 18: ! 19: f=$1 ! 20: shift ! 21: b=`basename $f .c` ! 22: ! 23: cc -E $arg $f | unproto/unproto >${b}.i ! 24: cc -c $arg ${b}.i $* ! 25: rm ${b}.i
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.