diff options
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 $< |