summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordyknon dyknonr5fjp2026-01-11 23:04:54 +0900
committerdyknon dyknonr5fjp2026-01-11 23:04:54 +0900
commitb7bc3f0d4488b6822506b9f93121249d078c38e3 (patch)
tree99d287cdefbfeeb20c4470c4f1bfd1eb909e7538 /Makefile
parent8439d0383adaee15bfd9a82a4d76db352690750e (diff)
Rewritten: stop using ffmpeg. better flexibility about image size.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
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)