author | etisserant |
Wed, 18 Jul 2007 11:57:36 +0200 | |
changeset 43 | 37dd4e2fd2ec |
parent 41 | 8998c8b24b60 |
child 44 | 3fb449ba9a72 |
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 |
|
43 | 3 |
CFLAGS=$* |
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
4 |
|
43 | 5 |
../iec2cc STD_TEST.st -I ../lib |
6 |
#2>/dev/null |
|
41
8998c8b24b60
First working IEC std lib test, actually test from string and to_string functions.
etisserant
parents:
diff
changeset
|
7 |
|
43 | 8 |
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
|
9 |
|
43 | 10 |
gcc -I ../lib -c STD_CONF.c $CFLAGS |
11 |
||
12 |
gcc -I ../lib main.c STD_CONF.o STD_RESSOURCE.o $CFLAGS -l rt -o test |