author | lbessard |
Mon, 27 Aug 2007 14:52:15 +0200 | |
changeset 52 | f44458d1fa29 |
parent 44 | 3fb449ba9a72 |
child 55 | 8b7a21820737 |
permissions | -rwxr-xr-x |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
1 |
#!/bin/bash |
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
2 |
|
44 | 3 |
STFILE=$1 |
4 |
||
5 |
shift |
|
6 |
||
43 | 7 |
CFLAGS=$* |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
8 |
|
44 | 9 |
../iec2cc $STFILE -I ../lib |
43 | 10 |
#2>/dev/null |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
11 |
|
43 | 12 |
gcc -I ../lib -c STD_RESSOURCE.c $CFLAGS |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
13 |
|
43 | 14 |
gcc -I ../lib -c STD_CONF.c $CFLAGS |
15 |
||
16 |
gcc -I ../lib main.c STD_CONF.o STD_RESSOURCE.o $CFLAGS -l rt -o test |