Added mutex lock to log output.

This commit is contained in:
barant committed 2019-10-20 09:32:11 -07:00
1 parent 64afc5ab9f
commit 4286a7b449
6 files changed
+9 -5

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ do
filename="${file%.*}"
list="$list $filename.o"
echo -n "Compiling $filename..."
g++ -c $file &
g++ -g -c $file
if [ $? = '0' ]
then
echo "OK"