From 615e7a33d39e343c07ae9d38745b693ff1559b60 Mon Sep 17 00:00:00 2001
From: absingh <absingh@mpi-cbg.de>
Date: Fri, 10 Feb 2023 11:10:26 +0100
Subject: [PATCH] minor macOS gcc fix and writing example makefile in home

---
 install | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/install b/install
index 99695bdd1..2d3ad12e6 100755
--- a/install
+++ b/install
@@ -360,7 +360,7 @@ else
             elif [ x"$CXX" == x"clang++" ]; then
               ./script/install_BOOST.sh $i_dir $ncore clang
             else
-	      if [ x"$CXX" == x"g++" ]; then
+	      if [ x"$CXX" == x"g++*" ]; then
 		if [ x"$is_apple_llvm" == x"yes" ]; then
 		  ./script/install_BOOST.sh $i_dir $ncore clang
 		else
@@ -609,6 +609,7 @@ fi
 echo "$bash_path" > $VARS_FILE_LOCATION/openfpm_vars
 echo "$bash_library" >> $VARS_FILE_LOCATION/openfpm_vars
 echo "export PURE_PYTHON=1" >> $VARS_FILE_LOCATION/openfpm_vars
+cp example.mk ~/.Openfpm.mk
 
 if [ x"$platform" = x"osx" ]; then
     echo "TMPDIR=/tmp/" >> $VARS_FILE_LOCATION/openfpm_vars
-- 
GitLab