mirror of
https://github.com/asticode/go-astiav.git
synced 2024-05-28 13:53:18 +08:00
15 lines
365 B
Makefile
15 lines
365 B
Makefile
version = "n4.4.1"
|
|
srcPath = "tmp/$(version)/src"
|
|
|
|
generate-flags:
|
|
go run internal/cmd/flags/main.go
|
|
|
|
install-ffmpeg:
|
|
rm -rf $(srcPath)
|
|
mkdir -p $(srcPath)
|
|
git clone https://github.com/FFmpeg/FFmpeg $(srcPath)
|
|
cd $(srcPath) && git checkout $(version)
|
|
cd $(srcPath) && ./configure --prefix=.. $(configure)
|
|
cd $(srcPath) && make
|
|
cd $(srcPath) && make install
|