diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-26 09:54:23 -0600 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-27 02:41:36 -0600 |
commit | 1b22c99c14b30f0add6f108a5883f003a2d81e01 (patch) | |
tree | a2326068bbf7e57aec897c78a8b764d321972a0e /t | |
parent | Makefile: lazily compute header dependencies (diff) | |
download | tgif-1b22c99c14b30f0add6f108a5883f003a2d81e01.tar.xz |
Makefile: list standalone program object files in PROGRAM_OBJS
Because of new commands like git-remote-http, the OBJECTS list
contains fictitious objects such as remote-http.o. Thus any
out-of-tree rules that require all $(OBJECTS) to be buildable
are broken. Add a list of real program objects to avoid this
problem.
To avoid duplication of effort, calculate the command list in
the PROGRAMS variable using the expansion of PROGRAM_OBJS.
This calculation occurs at the time $(PROGRAMS) is expanded,
so later additions to PROGRAM_OBJS will be reflected in it,
provided they occur before the build rules begin on line 1489.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions