diff options
| author | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2011-06-18 00:24:47 +0200 |
|---|---|---|
| committer | Thomas Preud'homme <thomas.preudhomme@celest.fr> | 2011-06-18 00:45:20 +0200 |
| commit | cb2138f8b098feb1b51a407343a4b99e25d5b506 (patch) | |
| tree | 7d5478518bd141a0f3dee5ea61898b7812768325 /examples/ex1.c | |
| parent | 3511e6e2a8b08f306cba73805fe7622a67d74fac (diff) | |
| download | tinycc-cb2138f8b098feb1b51a407343a4b99e25d5b506.tar.gz tinycc-cb2138f8b098feb1b51a407343a4b99e25d5b506.tar.bz2 | |
Make examples' shebang use target tcc bindir path
Use @BINDIR@ in shebang of examples to put the right path on the target
system. That is, use #!/usr/local/bin/tcc if tcc is installed in /usr/local/bin
and #!/usr/bin/tcc if tcc is installed in /usr/bin/tcc.
Diffstat (limited to 'examples/ex1.c')
| -rwxr-xr-x | examples/ex1.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/ex1.c b/examples/ex1.c deleted file mode 100755 index 28139f9..0000000 --- a/examples/ex1.c +++ /dev/null @@ -1,8 +0,0 @@ -#! /usr/local/bin/tcc -run -#include <tcclib.h> - -int main() -{ - printf("Hello World\n"); - return 0; -} |
