Implementation of Serice object into structure.

This commit is contained in:
Brad Arant committed 2019-02-16 12:01:36 -08:00
1 parent a2526dd3ed
commit 2cb1e3e2f2
23 files changed
+278 -293

No files matched your search

+13 -3
View File
@@ -5,17 +5,27 @@ do
filename="${file%.*}"
list="$list $filename.o"
echo -n "Compiling $filename..."
g++ -c $file
g++ -c $file
if [ $? = '0' ]
then
echo "OK"
else
echo "ERROR"
exit -1
fi
done
wait
echo $list
g++ -o main.cpp $list
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 *~