diff options
author | dyknon <dyknon@r5f.jp> | 2025-04-01 21:01:08 +0900 |
---|---|---|
committer | dyknon <dyknon@r5f.jp> | 2025-04-01 21:01:08 +0900 |
commit | 8439d0383adaee15bfd9a82a4d76db352690750e (patch) | |
tree | 0f8c838a9f3e7821c7f0012d3fa2858692373236 /Makefile | |
parent | 2020bdb38c516682f53af6e8dbdbb3337a74483a (diff) |
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1a3ff40 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +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 + +all: ytdl-storyboard.so + +ytdl-storyboard.so: storyboard.c Makefile + gcc -o $@ $(CFLAGS) $(LDFLAGS) -shared $< |