diff options
| author | dyknon dyknonr5fjp | 2026-01-11 23:04:54 +0900 |
|---|---|---|
| committer | dyknon dyknonr5fjp | 2026-01-11 23:04:54 +0900 |
| commit | b7bc3f0d4488b6822506b9f93121249d078c38e3 (patch) | |
| tree | 99d287cdefbfeeb20c4470c4f1bfd1eb909e7538 /Makefile | |
| parent | 8439d0383adaee15bfd9a82a4d76db352690750e (diff) | |
Rewritten: stop using ffmpeg. better flexibility about image size.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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) |
