bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #19309] parallel make issue with archive members


From: Paul D. Smith
Subject: [bug #19309] parallel make issue with archive members
Date: Thu, 22 Mar 2007 01:49:02 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20060601 Firefox/2.0.0.2 (Ubuntu-edgy)

Update of bug #19309 (project make):

                  Status:                    None => Not A Bug              
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

This is not a bug, and is not related to parallel make; you're using VPATH
incorrectly.  Paul's Third Rule of Makefiles states that you should never use
VPATH to find TARGETS.  VPATH is only usable to find SOURCES.

Read my discussion of VPATH here to learn why your example works the way it
does:

http://make.paulandlesley.org/vpath.html

You're also violating Paul's Second Rule of Makefiles, in this rule:

  .cc.o :
        $(CXX) $(CXX_FLAGS) $(INCLUDES) -c -o $(DEST)/$@ $<

ANY time you see a rule where it's constructing a target that is not EXACTLY
"$@", you know the rule is incorrect.  Here you're building "$(DEST)/$@", not
"$@", so your rule is incorrect.

If you rework your example to use VPATH, etc. properly and still see
problems, please file a note with this bug and we can re-open it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?19309>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]