Makefiles: Get rid of the OPTIM variable
This variable is non-standard. We should prefer using CXXFLAGS instead. This eases passing the --coverage option to sub-makes while avoiding code duplication (for managing CXXFLAGS and OPTIM) However overriding CXXFLAGS is not a good idea as it keeps expanding the variable.
Showing with 39 additions and 26 deletions