gallium: add $(PROGS_DEPS) as dependencies for $(PROGS)
authorLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 12:04:39 +0000 (14:04 +0200)
committerLuca Barbieri <luca@luca-barbieri.com>
Mon, 27 Sep 2010 12:11:12 +0000 (14:11 +0200)
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

index bff399ec64f6252f59efcde36b62edc06062a1cf..036c11986ee8c0880cea1fa03f381ebb9d312855 100644 (file)
@@ -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