Mercurial > repos > tabletprog
comparison compile @ 317:6dfbf5691a7f
Move where additional parameters are inserted in gcc command line so that additional libs can be specified
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Thu, 19 Mar 2015 22:39:42 -0700 |
parents | f2aff12d8e87 |
children |
comparison
equal
deleted
inserted
replaced
316:df4b67d8d2bc | 317:6dfbf5691a7f |
---|---|
15 fi | 15 fi |
16 | 16 |
17 bin=`echo $1 | sed 's/\.tp//'` | 17 bin=`echo $1 | sed 's/\.tp//'` |
18 shift | 18 shift |
19 echo gcc $@ -o $bin $cname $dir/runtime/object.c -lgc | 19 echo gcc $@ -o $bin $cname $dir/runtime/object.c -lgc |
20 gcc $@ -o $bin $cname $dir/runtime/object.c -I$dir -lgc | 20 gcc -o $bin $cname $dir/runtime/object.c -I$dir $@ -lgc |