From b7bc3f0d4488b6822506b9f93121249d078c38e3 Mon Sep 17 00:00:00 2001 From: dyknon Date: Sun, 11 Jan 2026 23:04:54 +0900 Subject: Rewritten: stop using ffmpeg. better flexibility about image size. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1a3ff40..dbb91e4 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,12 @@ -LIBPKGS=libcjson libavutil libavformat libavcodec libswscale +LIBPKGS=libcjson libcurl libwebp CFLAGS=$(shell pkg-config --cflags mpv) \ $(shell pkg-config --cflags $(LIBPKGS)) \ -pthread \ - -fPIC -Wall -Wno-unused-variable -Wno-parentheses -Wno-unused-function -LDFLAGS=$(shell pkg-config --libs $(LIBPKGS)) \ - -pthread + -fPIC -Wall -Wno-unused-variable -Wno-parentheses -Wno-unused-function \ + -g -O0 +LDFLAGS=$(shell pkg-config --libs $(LIBPKGS)) all: ytdl-storyboard.so -ytdl-storyboard.so: storyboard.c Makefile - gcc -o $@ $(CFLAGS) $(LDFLAGS) -shared $< +ytdl-storyboard.so: ytdlsb-main.c ytdlsb-tasks.c ytdlsb-mpv.c + gcc -o $@ $(CFLAGS) -shared $^ $(LDFLAGS) -- cgit v1.2.3