Mesa (master): gallium: add $(PROGS_DEPS) as dependencies for $(PROGS)
Luca Barbieri
lb at kemper.freedesktop.org
Mon Sep 27 12:11:43 UTC 2010
Module: Mesa
Branch: master
Commit: e507e4ec05eb8dda23f7c54aaf2eea143f8e573d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e507e4ec05eb8dda23f7c54aaf2eea143f8e573d
Author: Luca Barbieri <luca at luca-barbieri.com>
Date: Mon Sep 27 14:04:39 2010 +0200
gallium: add $(PROGS_DEPS) as dependencies for $(PROGS)
Commit 80ee3a440cd3c0403004cf35e0638fc52088b9ff added a PROGS_DEPS
definition, but no uses, even though it seems clearly intended
to be a set of additional dependencies for $(PROGS).
Correct this.
---
src/gallium/Makefile.template | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template
index bff399e..036c119 100644
--- a/src/gallium/Makefile.template
+++ b/src/gallium/Makefile.template
@@ -40,7 +40,7 @@ depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS) $(GENERATED_SOURC
touch depend
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(GENERATED_SOURCES) 2> /dev/null
-$(PROGS): % : %.o
+$(PROGS): % : %.o $(PROGS_DEPS)
$(LD) $(LDFLAGS) $(filter %.o,$^) -o $@ -Wl,--start-group $(LIBS) -Wl,--end-group
# Emacs tags
More information about the mesa-commit
mailing list