gallium/tests: Make trivial apps depend on libs
authorJakob Bornecrantz <wallbraker@gmail.com>
Sun, 18 Apr 2010 01:43:47 +0000 (02:43 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Sun, 18 Apr 2010 01:50:35 +0000 (02:50 +0100)
src/gallium/tests/trivial/Makefile

index 346e33c28e3947e9dd52aa224dd0bb43864db7f4..bfcbdd9712db59f3ef7e0d188c7010f93b67bc73 100644 (file)
@@ -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 $@