Quick'n'dirty way to compile the encryptor

This commit is contained in:
Víctor Román Archidona 2014-07-23 13:15:52 +02:00
parent b61eda0f5c
commit ff0d33d5e5

18
ediv/src/encrypt/build.sh Executable file
View 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