Quick'n'dirty way to compile the encryptor
This commit is contained in:
parent
b61eda0f5c
commit
ff0d33d5e5
18
ediv/src/encrypt/build.sh
Executable file
18
ediv/src/encrypt/build.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
CCOPTS="-I. -I../shared -I/usr/local/include -DDBG"
|
||||
|
||||
FILES="
|
||||
encrypt
|
||||
"
|
||||
|
||||
OBJECTS=""
|
||||
|
||||
for FILE in $FILES; do
|
||||
gcc -c $FILE.c $CCOPTS -o $FILE.o
|
||||
OBJECTS+="$FILE.o "
|
||||
done
|
||||
|
||||
gcc $OBJECTS -o ../../bin/encrypt -lz
|
||||
|
||||
rm $OBJECTS
|
Loading…
Reference in a new issue