mirror of
https://github.com/sudosylabs/vnidrop.git
synced 2026-08-05 02:29:55 +02:00
36 lines
868 B
Makefile
36 lines
868 B
Makefile
# Default command configuration. Override locally in the ignored
|
|
# config.override.mk or on the command line (for example: make package-deb VERSION=1.2.0).
|
|
|
|
ifeq ($(OS),Windows_NT)
|
|
HOST_OS := windows
|
|
GRADLE ?= ./gradlew.bat
|
|
else
|
|
HOST_UNAME := $(shell uname -s)
|
|
ifeq ($(HOST_UNAME),Darwin)
|
|
HOST_OS := macos
|
|
else ifeq ($(HOST_UNAME),Linux)
|
|
HOST_OS := linux
|
|
else
|
|
HOST_OS := unknown
|
|
endif
|
|
GRADLE ?= ./gradlew
|
|
endif
|
|
|
|
CARGO ?= cargo
|
|
NPM ?= npm
|
|
BUN ?= bun
|
|
XCODEBUILD ?= xcodebuild
|
|
XCODEGEN ?= xcodegen
|
|
OPEN ?= open
|
|
POWERSHELL ?= pwsh
|
|
|
|
VERSION ?= $(shell sed -n 's/^vnidrop.version=//p' $(ROOT)/gradle.properties)
|
|
APPLE_PROFILE ?= debug
|
|
APPLE_CONFIGURATION ?= Debug
|
|
APPLE_DESTINATION ?=
|
|
APPLE_CODE_SIGNING ?= NO
|
|
APPLE_DERIVED_DATA ?= $(ROOT)/apple/DerivedData
|
|
|
|
GRADLE_FLAGS ?= --no-daemon --stacktrace
|
|
GRADLE_RELEASE_FLAGS ?= --no-daemon --no-configuration-cache --stacktrace
|