summaryrefslogtreecommitdiff
path: root/components/hostname.c
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2018-05-27 22:40:00 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-27 22:55:15 +0200
commit0efd64ffaa04715eff9c834c437562952c4531cd (patch)
tree7d176d55ac59b2ad4a0c9011f75f0a806a21a86e /components/hostname.c
parent682c0fedde04fe6713539726494ec2db67ba5d2a (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 'components/hostname.c')
0 files changed, 0 insertions, 0 deletions