~emersion/vaapi-decoder

ref: x11-hack vaapi-decoder/Makefile -rw-r--r-- 286 bytes
c2c800f5Simon Ser hacky hack 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
CFLAGS = -g -Wall -Wextra -Wno-unused-parameter

deps = libavcodec libavformat libavutil libdrm xcb xcb-dri3 xcb-present
depflags = $(shell pkg-config $(deps) --cflags --libs)

all: vaapi-decoder

vaapi-decoder: main.c
	$(CC) $(CFLAGS) $(depflags) -o $@ $^

clean:
	$(RM) vaapi-decoder