Mesa (master): gallium/tests: Make trivial apps depend on libs

Jakob Bornecrantz wallbraker at kemper.freedesktop.org
Sun Apr 18 01:56:30 UTC 2010


Module: Mesa
Branch: master
Commit: 29ff6e87f50808708f53ab0531d3da4cf7db4475
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=29ff6e87f50808708f53ab0531d3da4cf7db4475

Author: Jakob Bornecrantz <wallbraker at gmail.com>
Date:   Sun Apr 18 02:43:47 2010 +0100

gallium/tests: Make trivial apps depend on libs

---

 src/gallium/tests/trivial/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/tests/trivial/Makefile b/src/gallium/tests/trivial/Makefile
index 346e33c..bfcbdd9 100644
--- a/src/gallium/tests/trivial/Makefile
+++ b/src/gallium/tests/trivial/Makefile
@@ -40,5 +40,5 @@ clean:
 $(OBJECTS): %.o: %.c
 	$(CC) -c $(INCLUDES) $(CFLAGS) $(DEFINES) $(PROG_DEFINES) $< -o $@
 
-$(PROGS): %: %.o
+$(PROGS): %: %.o $(LINKS)
 	$(CC) $(LDFLAGS) $< $(LINKS) -lm -lpthread -ldl -o $@




More information about the mesa-commit mailing list