makefile

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
fereshteh
Posts: 79
Joined: Sun Dec 30, 2012 2:58 pm
Location: inio:Iranian National Institute for Oceanography

makefile

#1 Unread post by fereshteh »

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

User avatar
kate
Posts: 4091
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

Re: makefile

#2 Unread post by kate »

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.

fereshteh
Posts: 79
Joined: Sun Dec 30, 2012 2:58 pm
Location: inio:Iranian National Institute for Oceanography

Re: makefile

#3 Unread post by fereshteh »

thanks so mush :D

Post Reply