Category : C Source Code
Archive   : PGP20SRC.ZIP
Filename : CCC

 
Output of file : CCC contained in archive : PGP20SRC.ZIP
#!/bin/sh
#
# script to compile ANSI source with a K&R compiler and unproto.
#

while :
do
case $1 in
-c) ;;
-o) shift ;;
*.c) break ;;
*) arg="$arg $1" ;;
esac
shift
done

set -e

f=$1
shift
b=`basename $f .c`

cc -E $arg $f | unproto/unproto >${b}.i
cc -c $arg ${b}.i $*
rm ${b}.i


  3 Responses to “Category : C Source Code
Archive   : PGP20SRC.ZIP
Filename : CCC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/