From 19970c927ab2da020d0a077c2981c81dac5fa742 Mon Sep 17 00:00:00 2001 From: WyattBlue Date: Thu, 23 Nov 2023 22:06:57 -0500 Subject: [PATCH] Update makefile --- Makefile | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) diff --git a/Makefile b/Makefile index eec4c7ee2..1a7fbc649 100644 --- a/Makefile +++ b/Makefile @@ -4,54 +4,24 @@ CFLAGS ?= "-O0" PYAV_PYTHON ?= python PYTHON := $(PYAV_PYTHON) - -.PHONY: default build cythonize clean clean-all info lint test fate-suite test-assets docs - +.PHONY: default build fate-suite test clean-build clean-src clean test default: build - build: CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) $(PYTHON) setup.py build_ext --inplace --debug -cythonize: - $(PYTHON) setup.py cythonize - - -wheel: build-mingw32 - $(PYTHON) setup.py bdist_wheel - -build-mingw32: - # before running, set PKG_CONFIG_PATH to the pkgconfig dir of the ffmpeg build. - # set PKG_CONFIG_PATH=D:\dev\3rd\media-autobuild_suite\local32\bin-video\ffmpegSHARED\lib\pkgconfig - CFLAGS=$(CFLAGS) LDFLAGS=$(LDFLAGS) $(PYTHON) setup.py build_ext --inplace -c mingw32 - mv *.pyd av - - fate-suite: # Grab ALL of the samples from the ffmpeg site. rsync -vrltLW rsync://fate-suite.ffmpeg.org/fate-suite/ tests/assets/fate-suite/ -lint: - TESTSUITE=flake8 scripts/test - TESTSUITE=isort scripts/test - test: $(PYTHON) setup.py test -tmp/ffmpeg-git: - @ mkdir -p tmp/ffmpeg-git - git clone --depth=1 git://source.ffmpeg.org/ffmpeg.git tmp/ffmpeg-git - clean-build: - rm -rf build - find av -name '*.so' -delete -clean-sandbox: - - rm -rf sandbox/201* - - rm -f sandbox/last - clean-src: - rm -rf src -clean: clean-build clean-sandbox clean-src -clean-all: clean-build clean-sandbox clean-src +clean: clean-build clean-src