summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1a3ff40..dbb91e4 100644
--- a/Makefile
+++ b/Makefile
@@ -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)