diff options
author | Laslo Hunhold <dev@frign.de> | 2018-05-27 22:40:00 +0200 |
---|---|---|
committer | Aaron Marcher <me@drkhsh.at> | 2018-05-27 22:55:15 +0200 |
commit | 0efd64ffaa04715eff9c834c437562952c4531cd (patch) | |
tree | 7d176d55ac59b2ad4a0c9011f75f0a806a21a86e /LICENSE | |
parent | 682c0fedde04fe6713539726494ec2db67ba5d2a (diff) |
Explicitly list component-objects in the Makefile
There was a long tinkering process at farbfeld about this, but the sad
truth is that it's the only way to make the Makefile truly portable.
Listing it just as
$(COM:=.o): config.mk $(REQ:=.h)
omits the dependency on the c-file itself, which incurs that strictly
speaking the object file is not depending on the source file, which is
nonsense.
You don't see strictly Posix compliant Makefiles around very often and
most use nasty GNU-extensions everywhere. It is a good idea to go ahead
as a fitting example and show how to write them portably.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions