inplace change
@@ -3,11 +3,13 @@ mkdir -p $PREFIX/bin
cd "wham_${PKG_VERSION}"
cd wham
# Use the given $(CC)
-sed 's/CC=gcc//g' Makefile > Makefile
+sed -i 's/CC=gcc//g' Makefile > Makefile
+make clean
make
mv wham $PREFIX/bin
cd ../wham-2d
# Use the given $(CC)
-sed 's/CC=gcc//g' Makefile > Makefile
+sed -i 's/CC=gcc//g' Makefile > Makefile
+make clean
make
mv wham-2d $PREFIX/bin
