Quick'n'dirty build script for the stub (interpreter)
This commit is contained in:
parent
82fd399ead
commit
b61eda0f5c
28
ediv/src/stub/build.sh
Executable file
28
ediv/src/stub/build.sh
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
CCOPTS="-I. -I../shared -I/usr/local/include -DDBG"
|
||||
|
||||
FILES="
|
||||
dll
|
||||
ediv_export
|
||||
error
|
||||
fatal
|
||||
inte
|
||||
language
|
||||
lower
|
||||
modulos
|
||||
stub
|
||||
varindex
|
||||
../shared/utils
|
||||
"
|
||||
|
||||
OBJECTS=""
|
||||
|
||||
for FILE in $FILES; do
|
||||
gcc -c $FILE.c $CCOPTS -o $FILE.o
|
||||
OBJECTS+="$FILE.o "
|
||||
done
|
||||
|
||||
gcc $OBJECTS -o ../../bin/stub -lz
|
||||
|
||||
rm $OBJECTS
|
Loading…
Reference in a new issue