Would you please tell me that if i change user define options in build.bash file it must change in make file automatically ,or i must change it by hand?
For example i disable USE_LARGE=on in build.bash (by # sign) but when i check makefile i see that there is USE_LARGE ?= on and it seems that in make file USE_LARGE is active yet.
Also BINDIR in makfile get same path that i set in build.bash, automatically.
Second question is that i cant fine NCAR_VERSION ?= option in makefile?
Thanks in advance
makefile
Re: makefile
The syntax USE_LARGE ?= on in the makefile means that it is on, unless there's an environment variable USE_LARGE that's set to something else from the build.bash. Commenting out USE_LARGE=on in the build.bash will leave it on in the makefile. This particular thing should probably be commented out in the makefile so that it isn't on by default, though I don't know that it does anything for some compilers. You would have to check your particular OS-compiler.mk file in the Compilers directory to see the effect of USE_LARGE.
There is no NCAR_VERSION in the ROMS makefile because ROMS does not use NCARG.
There is no NCAR_VERSION in the ROMS makefile because ROMS does not use NCARG.
-
- Posts: 79
- Joined: Sun Dec 30, 2012 2:58 pm
- Location: inio:Iranian National Institute for Oceanography
Re: makefile
thanks so mush ![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)