summaryrefslogtreecommitdiff
path: root/ytdl-storyboard/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ytdl-storyboard/Makefile')
-rw-r--r--ytdl-storyboard/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ytdl-storyboard/Makefile b/ytdl-storyboard/Makefile
index dfe252d..ae52857 100644
--- a/ytdl-storyboard/Makefile
+++ b/ytdl-storyboard/Makefile
@@ -6,8 +6,10 @@ CFLAGS=$(shell pkg-config --cflags mpv) \
LDFLAGS=$(shell pkg-config --libs $(LIBPKGS)) \
-pthread
-test: ytdl-storyboard.so
+test: all
mpv ytdl://ABH1Vft36aY ytdl://H9uwaNw4DRY
+all: ytdl-storyboard.so
+
ytdl-storyboard.so: storyboard.c Makefile
gcc -o $@ $(CFLAGS) $(LDFLAGS) -shared $<