aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2016-03-23 10:57:59 +0100
committerGerd Hoffmann <kraxel@redhat.com>2016-03-23 10:57:59 +0100
commiteb683ed50da64d0180334d1e999e37ab9ab8d752 (patch)
treeb2ce2b7edfb8d9a30e37da37a94c0044572b16cf /Makefile
parent2d4d026a09d9506fac0dac13f570cc50fe6d7b77 (diff)
downloaddrminfo-eb683ed50da64d0180334d1e999e37ab9ab8d752.tar.gz
opengl mode
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a4ea727..04d7b2e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,11 @@ CFLAGS += -Wall
TARGETS := drminfo drmtest
-CFLAGS += $(shell pkg-config --cflags libdrm)
-LDLIBS += $(shell pkg-config --libs libdrm)
+drminfo : CFLAGS += $(shell pkg-config --cflags libdrm)
+drminfo : LDLIBS += $(shell pkg-config --libs libdrm)
+
+drmtest : CFLAGS += $(shell pkg-config --cflags libdrm gbm epoxy)
+drmtest : LDLIBS += $(shell pkg-config --libs libdrm gbm epoxy)
all: $(TARGETS)