Re: [hackers] [farbfeld] Makefile: target should depend on its object

From: Quentin Rameau <quinq_AT_fifth.space>
Date: Thu, 30 Mar 2017 15:55:25 +0200

> I think your fix is incorrect. A single program like ff2png does not
> depend on ff2jpg.o or any other object other than ff2png.o.
> I'll look at it later, so if I'm wrong I'll merge it.

Well, it's not “wrong” per se, but indeed it makes binaries depend on
all objects.
That's something you can't work around with the way you seem to
want to write your Makefile.

The more correct solution would be to have a rule for each binary.
I'll send such patch here.
Received on Thu Mar 30 2017 - 15:55:25 CEST

This archive was generated by hypermail 2.3.0 : Thu Mar 30 2017 - 16:00:16 CEST