[GRASS-dev] mac error in GRASS 7 compiling

Glynn Clements glynn at gclements.plus.com
Tue Dec 23 01:57:43 EST 2008


William Kyngesburye wrote:

> > I suggest replacing the top-level macosxapp rule with the following:
> >
> > NIBSRC := $(wildcard English.lproj/MainMenu.nib/*)
> > NIBDST := $(patsubst English.lproj/%,$(APPDIR)/English.lproj/%,$ 
> > (NIBSRC))
> ...
> 
> Oh, and should MOD_OBJS be just main.o now? ... or, no, FILES -> MacOS/ 
> GRASS -> main.o, so no MOD_OBJS?

There's no need, as you have your own linking rule for
$(APPDIR)/MacOS/GRASS.

MOD_OBJS is used to generate ARCH_OBJS, which is the list of
prerequisites for the standard targets defined in Module.make,
Etc.make, Lib.make and DB.make.

As you aren't generating one of those targets, it won't be used.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list