14 lines
231 B
Bash
Executable File
14 lines
231 B
Bash
Executable File
#!/bin/bash
|
|
EXE=dont_run_me
|
|
|
|
g++ -o$EXE Student_Code/*.cpp ignoreme.a
|
|
if (( $? )) ;
|
|
then
|
|
echo Compilation Failed;
|
|
read -p "Press enter to exit";
|
|
else
|
|
chmod 755 $EXE;
|
|
./$EXE;
|
|
rm ./$EXE
|
|
read -p "Press any key to exit..."
|
|
fi; |