summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorMikhail Burakov <mburakov@mailbox.org>2023-03-20 08:30:03 +0100
committerMikhail Burakov <mburakov@mailbox.org>2023-03-20 08:30:03 +0100
commit21a3934971a5831e594670a48371fd5df50f2aaf (patch)
tree7f532cbfac0c51f9c895b468ac0dfcbee3db044f /makefile
parenta2ddede7c2c7f5a59e4f0069e8884012a6a685dd (diff)
Add codepath for using gbm device instead of surfaceless
Diffstat (limited to 'makefile')
-rw-r--r--makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/makefile b/makefile
index c3146b8..5c5dd12 100644
--- a/makefile
+++ b/makefile
@@ -4,6 +4,7 @@ obj:=$(src:.c=.o)
libs:=\
egl \
+ gbm \
glesv2 \
libavcodec \
libavutil \
@@ -15,7 +16,7 @@ res:=\
luma.glsl \
chroma.glsl
-
+#CFLAGS+=-DUSE_EGL_MESA_PLATFORM_SURFACELESS
CFLAGS+=$(shell pkg-config --cflags $(libs))
LDFLAGS+=$(shell pkg-config --libs $(libs))