Initial repository.

This commit is contained in:
Brad Arant committed 2019-02-24 09:36:42 -08:00
commit cf08375d32
10 files changed
+306

No files matched your search

Executable
+31
View File
@@ -0,0 +1,31 @@
#!/bin/bash
for file in *.cpp
do
filename="${file%.*}"
list="$list $filename.o"
echo -n "Compiling $filename..."
g++ -c $file -I../ServerCore
if [ $? = '0' ]
then
echo "OK"
else
echo "ERROR"
exit -1
fi
done
wait
echo -n "Building static library libServerCore.a..."
ar rcs libServerCore.a $list
if [ $? = '0' ]
then
echo "OK"
else
echo "ERROR"
exit -1
fi
rm *.o
rm *~