NetBSD-Bugs archive

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

Re: bin/50176: make(1) prerequisite not assigned to target if



The following reply was made to PR bin/50176; it has been noted by GNATS.

From: Steffen Nurpmeso <sdaoden%yandex.com@localhost>
To: Martin Husemann <martin%duskware.de@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: bin/50176: make(1) prerequisite not assigned to target if
Date: Thu, 27 Aug 2015 19:08:11 +0200

 Martin Husemann <martin%duskware.de@localhost> wrote:
  |On Thu, Aug 27, 2015 at 12:56:30PM +0200, Steffen Nurpmeso wrote:
  |> cf.o: hf.h
  |> hf.h:
  |>  echo '#include <stdlib.h>' > hf.h
  |
  |So (for dummies like me) summarized:
 
 Ah!  Oh!
 
  |The point is that if you use OBJ_SRC = ./cf.c the above cf.o rule
  |does not trigger and you have to write
  |
  |./cf.o: hf.h
 
 Would, yes, would.  I wanna remain and/or become portable with the
 things i maintain, so have to hold hands, here and there.
 
  |instead to match ${OBJ}. You could (in this simple example) just use
  |
  |${OBJ}: hf.h
  |
  |and it all works.
 
 Hah!  Really..  (I didn't try that out.)
 
  |Wether this should be considered a bug, I am not sure.
 
 As long as there are mexican women which are women and my heart is
 beating that's how it'll be.
 Ciao,
 
 --steffen
 



Home | Main Index | Thread Index | Old Index