- When using
$(CFLAGS)should be used, not
$(CFLAGS)should normally be used too, because some C compiler flags may be needed for linking too. Note that this is the convention chosen by GNU Automake.
Note: flags related to OpenMP are not modified by these changes, but their use in the various makefiles is not consistent.