On Tue, Oct 4, 2011 at 11:38 AM, IOhannes m zmoelnig zmoelnig@iem.at wrote:
the proper way is to use CPPFLAGS="-DPD_FLOAT_PRECISION=64",
But now you undo the CPPFLAGS as defined in the makefile. I didn't know how to add to the CFLAGS from the command line, but found a solution here:
http://theory.uwinnipeg.ca/localfiles/infofiles/make/make_66.html#SEC65
It requires a small adaptation to the makefile. Instead of:
CFLAGS = ....
comes:
override CFLAGS += .....
Now you can add to CFLAGS from the command line, like so:
make CFLAGS="-DPD_FLOAT_PRECISION=64"
Note that the CFLAGS in the makefile now have precedence and you can only add to it from the command line, not override it.
Katja