Get rid of codelite crap.

This commit is contained in:
Brad Arant committed 2019-09-19 18:04:03 -07:00
1 parent e7b4ae818f
commit 10fa23bba3
8 files changed
+21 -309

No files matched your search

+17 -17
View File
@@ -1,24 +1,25 @@
#!/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
for file in *.cpp
do
filename="${file%.*}"
list="$list $filename.o"
echo -n "Compiling $filename..."
g++ -c -I../CoreUtils -I../ServerCore $file &
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
echo -n "Building executable HTTPServer..."
echo $list
g++ -o HTTPServer -I../CoreUtils -I../ServerCore -L../CoreUtils -L../ServerCore -lCoreUtils -lServerCore $list
if [ $? = '0' ]
then
echo "OK"
@@ -27,5 +28,4 @@ else
exit -1
fi
rm *.o
rm *~