diff options
author | dyknon <dyknon@r5f.jp> | 2025-03-30 21:08:00 +0900 |
---|---|---|
committer | dyknon <dyknon@r5f.jp> | 2025-03-30 21:08:00 +0900 |
commit | 6d990813e92da0296ef80aaa71364b713c762488 (patch) | |
tree | 6ddc5d9df5b03111e9ef284bdedb649942d1b537 /ytdl-storyboard/Makefile |
Initial commit
Diffstat (limited to 'ytdl-storyboard/Makefile')
-rw-r--r-- | ytdl-storyboard/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ytdl-storyboard/Makefile b/ytdl-storyboard/Makefile new file mode 100644 index 0000000..dfe252d --- /dev/null +++ b/ytdl-storyboard/Makefile @@ -0,0 +1,13 @@ +LIBPKGS=libcjson libavutil libavformat libavcodec libswscale +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 + +test: ytdl-storyboard.so + mpv ytdl://ABH1Vft36aY ytdl://H9uwaNw4DRY + +ytdl-storyboard.so: storyboard.c Makefile + gcc -o $@ $(CFLAGS) $(LDFLAGS) -shared $< |