From 6e4a0f51d9062339e1ce6420751489241c1511da Mon Sep 17 00:00:00 2001 From: Frank Leon Rose Date: Tue, 13 Apr 2021 22:41:37 +0100 Subject: [PATCH] Add 'clean' and 'install' targets for completeness --- mobot.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mobot.mk b/mobot.mk index f3072178..7a3c48e8 100644 --- a/mobot.mk +++ b/mobot.mk @@ -2,7 +2,7 @@ # Build the Mobot version of scrcpy with Mobot's FFmpeg # make -f mobot.mk # On Linux it may be necessary to install dependencies -# sudo apt-get install cmake ninja libpng-dev libsdl2-dev +# sudo apt-get install cmake ninja libpng-dev libsdl2-dev libx264-dev # pip3 install meson # sudo snap install scrcpy (for server .jar) # On Raspberry Pi it may be necessary to install @@ -44,3 +44,9 @@ build-app: $(AVLIBS) scrcpy: build-app ninja -Cbuild-app + +clean: + rm -rf build-ffmpeg build-libav build-app + +install: scrcpy + ninja -Cbuild-app install