# HG changeset patch # User Mike Pavone # Date 1288314423 14400 # Node ID e556416e9c91ecb03d84fc887b8ebd8e17e8dbae # Parent 8aedae4f4ddd0d2672bc1c4207929c1e8167ed1a Update compilation scripts diff -r 8aedae4f4ddd -r e556416e9c91 compile --- a/compile Thu Oct 28 21:05:50 2010 -0400 +++ b/compile Thu Oct 28 21:07:03 2010 -0400 @@ -4,7 +4,7 @@ rm "$1.c" fi -./rhope -t 1 compile_old.rhope $1 +./rhope2c $1 if test ! -f "$1.c"; then echo "Compilation to C failed" diff -r 8aedae4f4ddd -r e556416e9c91 ctobin --- a/ctobin Thu Oct 28 21:05:50 2010 -0400 +++ b/ctobin Thu Oct 28 21:07:03 2010 -0400 @@ -18,8 +18,10 @@ CC="gcc" fi -echo "$CC -o $bin $2 $1.c blueprint.c context.c fixed_alloc.c object.c" -$CC -o $bin $2 "$1.c" blueprint.c context.c fixed_alloc.c object.c +file=$1 +shift +echo "$CC -o $bin $@ $file.c blueprint.c context.c fixed_alloc.c object.c" +$CC -o $bin $@ "$file.c" blueprint.c context.c fixed_alloc.c object.c cd ..