Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile

Author edk
Full name Ed Korthof
Date 2000-10-01 22:48:16 PDT
Message On Sun, 1 Oct 2000, Daniel L. Rall wrote:

> When you have moment, would you elaborate and/or provide an example?
> This seems very odd.

The basic problem is that if make finds a directory called build -- and
your target is build -- it sees that the directory exists and doesn't
depend on anything else. It decides that the build target is therefore
up-to-date. Lovely, eh?

Two ways to trick it are to make build depend on a bogus target (a name
which doesn't have a corresponding file or directory) or to make build
depend on another target (like build-real) satisfying the same conditions
-- or change the name of the ant build directory.

> It seems like if this is the case, I probably just wrote the Makefile
> poorly and we should revamp it (ditto for Helm).

It's just make stupidity, IMO.

thanks --

Ed
--
   +=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=
   | Ed Korthof | edk at collab dot net | 415-247-1690 |
   +=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=+=-=​+=-=+=-=+=-=+=-=

« Previous message in topic | 2 of 7 | Next message in topic »

Messages

Show all messages in topic

Re: [joist-cvs] CVS update: joist Makefile dlr Daniel Rall 2000-10-01 22:38:45 PDT
     Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile edk Ed Korthof 2000-10-01 22:48:16 PDT
         Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile dlr Daniel Rall 2000-10-01 22:53:18 PDT
         Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile stack Michael Stack 2000-10-02 10:01:43 PDT
             Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile dlr Daniel Rall 2000-10-02 11:39:58 PDT
                 Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile stack Michael Stack 2000-10-02 12:03:24 PDT
                     Re: [joist-dev] Re: [joist-cvs] CVS update: joist Makefile dlr Daniel Rall 2000-10-02 12:45:45 PDT
Messages per page: