diff options
Diffstat (limited to 'libmkv/Makefile')
-rw-r--r-- | libmkv/Makefile | 36 |
1 files changed, 32 insertions, 4 deletions
diff --git a/libmkv/Makefile b/libmkv/Makefile index 37b6944..a772f09 100644 --- a/libmkv/Makefile +++ b/libmkv/Makefile @@ -1,6 +1,34 @@ CFLAGS = -Wall -Werror -Wextra -all: $(patsubst %.c,%,$(wildcard *.c)) -clean: - rm -f -- $(patsubst %.c,%,$(wildcard *.c)) - rm -f -- *.avi *.mkv +all: +.PHONY: all + +.NOTINTERMEDIATE: +.DELETE_ON_ERROR: + +################################################################################ + +all: nut-crc32 + +################################################################################ + +all: nut-generate.nut +nut-generate.nut: %.nut: % + ./$< >$@ + +################################################################################ + +all: changing-resolution-cam.nut +changing-resolution-cam.nut: %.nut: %.webm + ffmpeg -y -i $< -c:v copy -an $@ +changing-resolution-cam.webm: Archive.zip + bsdtar xfO $< changing-resolution.webm >$@ +# Archive.zip is from https://github.com/OpenShot/libopenshot/issues/382 + +################################################################################ + +all: changing-resolution-gen.nut +changing-resolution-gen.nut: %.nut: %.mkv + ffmpeg -y -i $< -c:v copy $@ +changing-resolution-gen.mkv: %.mkv: %.sh + ./$< |