summaryrefslogtreecommitdiff
path: root/src/gallium/Makefile.template
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-09-27 14:04:39 +0200
committerLuca Barbieri <luca@luca-barbieri.com>2010-09-27 14:11:12 +0200
commite507e4ec05eb8dda23f7c54aaf2eea143f8e573d (patch)
treec810c778dbd82e199652f3410cb6aa8f62f155a8 /src/gallium/Makefile.template
parentf762f7b85d11314915cb420d21a062dd597f8ff8 (diff)
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.
Diffstat (limited to 'src/gallium/Makefile.template')
-rw-r--r--src/gallium/Makefile.template2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/Makefile.template b/src/gallium/Makefile.template
index bff399ec64..036c11986e 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