setups my desktop environment from a debian netinst
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
162 B

#!/bin/bash
scan-build-8 make Debug -j4 -s 2>&1 || exit 1
DIR="${PWD##*/}_debug"
if [ $? == 0 ]
then
cd bin
gdb $DIR
else
echo "Compilation Failed!"
fi
exit