diff --git a/Makefile b/Makefile | |
index f2a9616..2a3bfa8 100644 | |
--- a/Makefile | |
+++ b/Makefile | |
@@ -1,9 +1,9 @@ | |
CFLAGS := -Wall -g | |
vadumpcaps: vadumpcaps.c | |
- $(CC) -o $@ $(CFLAGS) $< $(shell pkg-config --libs --cflags libva libva-drm) | |
+ $(CC) $? -o $@ $(CFLAGS) $(LDFLAGS) | |
clean: | |
rm -f vadumpcaps | |
install: vadumpcaps |