diff options
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..dbb91e4 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +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 \ + -g -O0 +LDFLAGS=$(shell pkg-config --libs $(LIBPKGS)) + +all: ytdl-storyboard.so + +ytdl-storyboard.so: ytdlsb-main.c ytdlsb-tasks.c ytdlsb-mpv.c + gcc -o $@ $(CFLAGS) -shared $^ $(LDFLAGS) |
