Re: [hackers] [farbfeld] Makefile-workaround for OpenBSD || Laslo Hunhold

From: Laslo Hunhold <dev_AT_frign.de>
Date: Mon, 29 May 2017 19:15:15 +0200

On Mon, 29 May 2017 18:46:53 +0200
Quentin Rameau <quinq_AT_fifth.space> wrote:

>

The essence of the problem is this sentence in the spec[0]:

        "A target that has prerequisites, but does not have any
         commands, __can__ be used to add to the prerequisite list for
         that target. Only one target rule for any given target can
         contain commands."

Thus, we cannot depend on the behaviour that make adds $(BIN).o to the
list of prerequisites within the $(BIN) target.

As far as I can see it, we are left to write down each target
explicitly.

With best regards

Laslo Hunhold

[0]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html

-- 
Laslo Hunhold <dev_AT_frign.de>
Received on Mon May 29 2017 - 19:15:15 CEST

This archive was generated by hypermail 2.3.0 : Mon May 29 2017 - 19:24:17 CEST