On Oct 2, 2007, at 3:49 AM, Glynn Clements wrote:

A couple of questions:

1. Is this with a MacOSX App build? If so, do you get the same
behaviour with a non-App build?

Actually, yes. Before I fixed a small problem where the macosx dir didn't build, it was happening.

2. Does it help if you change the following in Rules.make from:

$(OBJDIR)/%.o : %.c $(LOCAL_HEADERS) | $(OBJDIR)
        $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) \
                -o $(OBJDIR)/$*.o -c $*.c

to:

$(OBJDIR)/%.o : %.c $(LOCAL_HEADERS)
        $(MKDIR) $(OBJDIR)
        $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(NLS_CFLAGS) $(EXTRA_INC) $(INC) \
                -o $(OBJDIR)/$*.o -c $*.c

?

Much better.  Still a few recompiles:

various copy files steps
libsqlp (recompile)
r.terraflow (recompile) (that has its own object targets with a similar "| $(OBJDIR)" in the target deps)
nviz (relink)
my OSX app build (relink) (my fault for how I set up the makefile)

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Time is an illusion - lunchtime doubly so."

- Ford Prefect


_______________________________________________
grass-dev mailing list
[email protected]
http://grass.itc.it/mailman/listinfo/grass-dev

Reply via email to