home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Der Mediaplex Sampler - Die 6 von Plex
/
6_v_plex.zip
/
6_v_plex
/
DISK5
/
DOS_10
/
PGP23ASR.ZIP
/
PGPSRC23.ZIP
/
CCC.X28
< prev
next >
Wrap
Text File
|
1993-05-09
|
400b
|
27 lines
:
#
# 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 -C -I. $arg $f | unproto/unproto | \
sed 's/^#[ ]*\([0-9][0-9]*\)/#line \1 "'"\/tmp\/${b}.c"'"/' >/tmp/${b}.c
cc -c $arg /tmp/${b}.c $*
rm /tmp/${b}.c