diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-26 09:52:11 -0600 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-26 10:08:55 -0600 |
commit | c373991375a4903dbb9bea69e2ce11ce819253e2 (patch) | |
tree | 9fc0f74813ae6a755eb4e7bd9f1c6ba396d806f1 /templates/.gitignore | |
parent | Makefile: disable default implicit rules (diff) | |
download | tgif-c373991375a4903dbb9bea69e2ce11ce819253e2.tar.xz |
Makefile: list generated object files in OBJECTS
Set the OBJECTS variable to a comprehensive list of all object
file targets. To make sure it is truly comprehensive, restrict
the scope of the %.o pattern rule to only generate objects in
this list.
Attempts to build other object files will fail loudly:
$ touch foo.c
$ make foo.o
make: *** No rule to make target `foo.o'. Stop.
providing a reminder to add the new object to the OBJECTS list.
The new variable is otherwise unused. The intent is for later
patches to take advantage of it.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 'templates/.gitignore')
0 files changed, 0 insertions, 0 deletions