Mercurial > repos > rhope
comparison compile @ 125:e556416e9c91
Update compilation scripts
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 28 Oct 2010 21:07:03 -0400 |
parents | 25a205094f9b |
children | daf1ffaf7c2c |
comparison
equal
deleted
inserted
replaced
124:8aedae4f4ddd | 125:e556416e9c91 |
---|---|
2 | 2 |
3 if test -f "$1.c"; then | 3 if test -f "$1.c"; then |
4 rm "$1.c" | 4 rm "$1.c" |
5 fi | 5 fi |
6 | 6 |
7 ./rhope -t 1 compile_old.rhope $1 | 7 ./rhope2c $1 |
8 | 8 |
9 if test ! -f "$1.c"; then | 9 if test ! -f "$1.c"; then |
10 echo "Compilation to C failed" | 10 echo "Compilation to C failed" |
11 exit 1 | 11 exit 1 |
12 fi | 12 fi |