Skip to content
Snippets Groups Projects
Commit e26ae15e authored by Jean-Baptiste Keck's avatar Jean-Baptiste Keck
Browse files

added makefile check

parent 5a299000
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -14,7 +14,10 @@ fi
BUILD_FOLDER="$1"
mkdir -p $BUILD_FOLDER
cd $BUILD_FOLDER
if [ ! -f Makefile ]; then
echo "The makefile has not been generated."
exit 1
fi
CC="$2" CXX="$3" FC="$4" make VERBOSE=1 ..
exit 0
......@@ -18,4 +18,9 @@ mkdir -p $BUILD_DIR
cd $BUILD_DIR
CC="$2" CXX="$3" FC="$4" cmake -DCMAKE_BUILD_TYPE=Release $ROOT_DIR
if [ ! -f Makefile ]; then
echo "The makefile has not been generated."
exit 1
fi
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment