mirror of https://github.com/Genymobile/scrcpy
Fix Makefile for Windows
The default value of GRADLE is "./gradlew", which is the correct value on Linux. On Windows, it should use gradlew.bat (by calling "gradlew") instead.
This commit is contained in:
parent
52c89c7afb
commit
de192cab1b
6
Makefile
6
Makefile
|
@ -1,6 +1,10 @@
|
||||||
.PHONY: default release clean build build-app build-server run dist dist-zip sums test
|
.PHONY: default release clean build build-app build-server run dist dist-zip sums test
|
||||||
|
|
||||||
GRADLE ?= ./gradlew
|
ifeq ($(OS),Windows_NT)
|
||||||
|
GRADLE ?= gradlew
|
||||||
|
else
|
||||||
|
GRADLE ?= ./gradlew
|
||||||
|
endif
|
||||||
|
|
||||||
APP_BUILD_DIR := app-build
|
APP_BUILD_DIR := app-build
|
||||||
DIST := dist
|
DIST := dist
|
||||||
|
|
Loading…
Reference in New Issue